Preference.OnPrepareForRemoval 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 when this Preference is being removed from the hierarchy.
[Android.Runtime.Register("onPrepareForRemoval", "()V", "GetOnPrepareForRemovalHandler")]
protected virtual void OnPrepareForRemoval ();
[<Android.Runtime.Register("onPrepareForRemoval", "()V", "GetOnPrepareForRemovalHandler")>]
abstract member OnPrepareForRemoval : unit -> unit
override this.OnPrepareForRemoval : unit -> unit
- Attributes
Remarks
Called when this Preference is being removed from the hierarchy. You should remove any references to this Preference that you know about. Make sure to call through to the superclass implementation.
Java documentation for android.preference.Preference.onPrepareForRemoval()
.
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.