@Override
 public void onSaveInstanceState(Bundle outState) {
   Timber.d(
       "%s paused with outState %s and arguments %s",
       this.toString(),
       outState == null ? "null" : outState.toString(),
       this.getArguments() == null ? "null" : this.getArguments().toString());
   super.onSaveInstanceState(outState);
   if (mBasePresenter != null) {
     mBasePresenter.onSaveInstanceState(outState);
   }
   Icepick.saveInstanceState(this, outState);
 }
 private void tearDownState(Bundle state) {
   Icepick.saveInstanceState(this, state);
 }
示例#3
0
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   Icepick.saveInstanceState(this, outState);
 }
示例#4
0
 @Override
 protected void onSave(@NonNull Bundle state) {
   super.onSave(state);
   Icepick.saveInstanceState(this, state);
 }