다음을 통해 공유


Preference.RestoreHierarchyState(Bundle) Method

Definition

Restore this Preference hierarchy's previously saved state from the given container.

[Android.Runtime.Register("restoreHierarchyState", "(Landroid/os/Bundle;)V", "GetRestoreHierarchyState_Landroid_os_Bundle_Handler")]
public virtual void RestoreHierarchyState (Android.OS.Bundle? container);
[<Android.Runtime.Register("restoreHierarchyState", "(Landroid/os/Bundle;)V", "GetRestoreHierarchyState_Landroid_os_Bundle_Handler")>]
abstract member RestoreHierarchyState : Android.OS.Bundle -> unit
override this.RestoreHierarchyState : Android.OS.Bundle -> unit

Parameters

container
Bundle

The Bundle that holds the previously saved state.

Attributes

Remarks

Restore this Preference hierarchy's previously saved state from the given container.

Java documentation for android.preference.Preference.restoreHierarchyState(android.os.Bundle).

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