Condividi tramite


Loader.Abandon Method

Definition

This function will normally be called for you automatically by android.app.LoaderManager when restarting a Loader.

[Android.Runtime.Register("abandon", "()V", "GetAbandonHandler")]
public virtual void Abandon ();
[<Android.Runtime.Register("abandon", "()V", "GetAbandonHandler")>]
abstract member Abandon : unit -> unit
override this.Abandon : unit -> unit
Attributes

Remarks

This function will normally be called for you automatically by android.app.LoaderManager when restarting a Loader. When using a Loader with android.app.LoaderManager, you <em>must not</em> call this method yourself, or you will conflict with its management of the Loader.

Tell the Loader that it is being abandoned. This is called prior to #reset to have it retain its current data but not report any new data.

Java documentation for android.content.Loader.abandon().

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