Preference.OnRestoreInstanceState(IParcelable) Preference.OnRestoreInstanceState(IParcelable) Method


Hook allowing a Preference to re-apply a representation of its internal state that had previously been generated by OnSaveInstanceState().

[Android.Runtime.Register("onRestoreInstanceState", "(Landroid/os/Parcelable;)V", "GetOnRestoreInstanceState_Landroid_os_Parcelable_Handler")]
protected virtual void OnRestoreInstanceState (Android.OS.IParcelable state);
abstract member OnRestoreInstanceState : Android.OS.IParcelable -> unit
override this.OnRestoreInstanceState : Android.OS.IParcelable -> unit


IParcelable IParcelable

The saved state that had previously been returned by OnSaveInstanceState().


Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also