ViewGroup.DispatchFreezeSelfOnly(SparseArray) Method

Definition

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

C#
[Android.Runtime.Register("dispatchFreezeSelfOnly", "(Landroid/util/SparseArray;)V", "GetDispatchFreezeSelfOnly_Landroid_util_SparseArray_Handler")]
protected virtual void DispatchFreezeSelfOnly (Android.Util.SparseArray? container);

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

Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35