View.DispatchRestoreInstanceState(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 #restoreHierarchyState(android.util.SparseArray)
to retrieve the
state for this view and its children.
[Android.Runtime.Register("dispatchRestoreInstanceState", "(Landroid/util/SparseArray;)V", "GetDispatchRestoreInstanceState_Landroid_util_SparseArray_Handler")]
protected virtual void DispatchRestoreInstanceState (Android.Util.SparseArray? container);
[<Android.Runtime.Register("dispatchRestoreInstanceState", "(Landroid/util/SparseArray;)V", "GetDispatchRestoreInstanceState_Landroid_util_SparseArray_Handler")>]
abstract member DispatchRestoreInstanceState : Android.Util.SparseArray -> unit
override this.DispatchRestoreInstanceState : Android.Util.SparseArray -> unit
Parameters
- container
- SparseArray
The SparseArray which holds previously saved state.
- Attributes
Remarks
Called by #restoreHierarchyState(android.util.SparseArray)
to retrieve the state for this view and its children. May be overridden to modify how restoring 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.