共用方式為


ViewGroup.DispatchThawSelfOnly(SparseArray) Method

Definition

Perform dispatching of a #restoreHierarchyState(android.util.SparseArray) to only this view, not to its children.

[Android.Runtime.Register("dispatchThawSelfOnly", "(Landroid/util/SparseArray;)V", "GetDispatchThawSelfOnly_Landroid_util_SparseArray_Handler")]
protected virtual void DispatchThawSelfOnly (Android.Util.SparseArray? container);
[<Android.Runtime.Register("dispatchThawSelfOnly", "(Landroid/util/SparseArray;)V", "GetDispatchThawSelfOnly_Landroid_util_SparseArray_Handler")>]
abstract member DispatchThawSelfOnly : Android.Util.SparseArray -> unit
override this.DispatchThawSelfOnly : Android.Util.SparseArray -> unit

Parameters

container
SparseArray

the container

Attributes

Remarks

Perform dispatching of a #restoreHierarchyState(android.util.SparseArray) to only this view, not to its children. For use when overriding #dispatchRestoreInstanceState(android.util.SparseArray) to allow subclasses to thaw their own state but not the state of their children.

Java documentation for android.view.ViewGroup.dispatchThawSelfOnly(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