View.DispatchSaveInstanceState(SparseArray) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by #saveHierarchyState(android.util.SparseArray)
to store the state for
this view and its children.
[Android.Runtime.Register("dispatchSaveInstanceState", "(Landroid/util/SparseArray;)V", "GetDispatchSaveInstanceState_Landroid_util_SparseArray_Handler")]
protected virtual void DispatchSaveInstanceState (Android.Util.SparseArray? container);
[<Android.Runtime.Register("dispatchSaveInstanceState", "(Landroid/util/SparseArray;)V", "GetDispatchSaveInstanceState_Landroid_util_SparseArray_Handler")>]
abstract member DispatchSaveInstanceState : Android.Util.SparseArray -> unit
override this.DispatchSaveInstanceState : Android.Util.SparseArray -> unit
Parameters
- container
- SparseArray
The SparseArray in which to save the view's state.
- Attributes
Remarks
Called by #saveHierarchyState(android.util.SparseArray)
to store the state for this view and its children. May be overridden to modify how freezing happens to a view's children; for example, some views may want to not store state for their children.
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.