Package io.flutter.embedding.engine.plugins.activity

# Interface ActivityPluginBinding.OnSaveInstanceStateListener

Enclosing interface:
  ActivityPluginBinding

public static interface ActivityPluginBinding.OnSaveInstanceStateListener

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onRestoreInstanceState(Bundle bundle)`
  Invoked when the associated `Activity` executes `Activity.onCreate(Bundle)` or associated `Fragment` executes `Fragment#onCreate(Bundle)`.
  `void`
  `onSaveInstanceState(Bundle bundle)`
  Invoked when the associated `Activity` or `Fragment` executes `Activity.onSaveInstanceState(Bundle)`.

- ## Method Details

  - ### onSaveInstanceState

    void onSaveInstanceState(@NonNull Bundle bundle)
    Invoked when the associated `Activity` or `Fragment` executes `Activity.onSaveInstanceState(Bundle)`.

  - ### onRestoreInstanceState

    void onRestoreInstanceState(@Nullable Bundle bundle)
    Invoked when the associated `Activity` executes `Activity.onCreate(Bundle)` or associated `Fragment` executes `Fragment#onCreate(Bundle)`.