예제 #1
0
 @Override
 public void onDestroyView() {
   numColumnsSubscription.unsubscribe();
   searchSubscription.unsubscribe();
   super.onDestroyView();
 }
예제 #2
0
 @Override
 public void onPause() {
   unregisterForEvents();
   super.onPause();
 }
예제 #3
0
 @Override
 public void onSaveInstanceState(Bundle outState) {
   adapter.onSaveInstanceState(outState);
   super.onSaveInstanceState(outState);
 }
예제 #4
0
 @Override
 public void onResume() {
   super.onResume();
   registerForEvents();
 }