Пример #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();
 }