private void onActivityStateChange(Activity activity, int newState) {
assert(getActivity() == activity);
switch (newState) {
- case ActivityState.STARTED:
+ case ActivityState.STARTED:
onShow();
break;
case ActivityState.PAUSED:
case ActivityState.DESTROYED:
onDestroy();
break;
- case ActivityState.STOPPED:
+ case ActivityState.STOPPED:
onHide();
break;
default: