Condividi tramite


ViewGroup.DispatchFreezeSelfOnly(SparseArray) Method

Definition

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

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

Parameters

container
SparseArray

the container

Attributes

Remarks

Perform dispatching of a #saveHierarchyState(android.util.SparseArray) freeze()} to only this view, not to its children. For use when overriding #dispatchSaveInstanceState(android.util.SparseArray) dispatchFreeze()} to allow subclasses to freeze their own state but not the state of their children.

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