Freigeben über


View.RestoreHierarchyState(SparseArray) Method

Definition

Restore this view hierarchy's frozen state from the given container.

[Android.Runtime.Register("restoreHierarchyState", "(Landroid/util/SparseArray;)V", "GetRestoreHierarchyState_Landroid_util_SparseArray_Handler")]
public virtual void RestoreHierarchyState (Android.Util.SparseArray? container);
[<Android.Runtime.Register("restoreHierarchyState", "(Landroid/util/SparseArray;)V", "GetRestoreHierarchyState_Landroid_util_SparseArray_Handler")>]
abstract member RestoreHierarchyState : Android.Util.SparseArray -> unit
override this.RestoreHierarchyState : Android.Util.SparseArray -> unit

Parameters

container
SparseArray

The SparseArray which holds previously frozen states.

Attributes

Remarks

Restore this view hierarchy's frozen state from the given container.

Java documentation for android.view.View.restoreHierarchyState(android.util.SparseArray<android.os.Parcelable>).

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