Пример #1
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   BusManger.getInstance().unregister(this);
 }
Пример #2
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   BusManger.getInstance().register(this);
 }