Udostępnij za pośrednictwem


Preference.OnPrepareForRemoval Method

Definition

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.

Applies to