Пример #1
0
 @Override
 public void onDestroy() {
   dispatcher.close();
   dispatcher = null;
   super.onDestroy();
 }
Пример #2
0
 @Override
 public void onResume() {
   super.onResume();
   dispatcher.resume();
 }
Пример #3
0
 @Override
 public void onPause() {
   dispatcher.pause();
   super.onPause();
 }
Пример #4
0
 public void setDispatcher(ContentDispatcher d) {
   dispatcher.close();
   dispatcher = d;
 }