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