Пример #1
0
 @Override
 protected void onRestoreInstanceState(Bundle savedInstanceState) {
   super.onRestoreInstanceState(savedInstanceState);
   if (mCallbacks != null) {
     mCallbacks.onActivityRestoreInstanceState(savedInstanceState);
   }
 }
Пример #2
0
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   if (mCallbacks != null) {
     mCallbacks.onActivitySaveInstanceState(outState);
   }
   super.onSaveInstanceState(outState);
 }