Esempio n. 1
0
 @Override
 public void onDestroyView() {
   if (rootView.getParent() != null) {
     ((ViewGroup) rootView.getParent()).removeView(rootView);
   }
   super.onDestroyView();
 }
Esempio n. 2
0
 @Override
 public void onAttach(Activity activity) {
   super.onAttach(activity);
   this.activity = activity;
 }
Esempio n. 3
0
 @Override
 public void onResume() {
   super.onResume();
   presenter.init(this);
   presenter.onResume(spiceManager);
 }
Esempio n. 4
0
 @Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
   this.getComponent(IMainActivityComponent.class).inject(this);
 }
Esempio n. 5
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setRetainInstance(true);
 }
Esempio n. 6
0
 @Override
 public void onPause() {
   presenter.onPause();
   super.onPause();
 }