Udostępnij za pośrednictwem


Loader.OnAbandon Method

Definition

Subclasses implement this to take care of being abandoned.

[Android.Runtime.Register("onAbandon", "()V", "GetOnAbandonHandler")]
protected virtual void OnAbandon ();
[<Android.Runtime.Register("onAbandon", "()V", "GetOnAbandonHandler")>]
abstract member OnAbandon : unit -> unit
override this.OnAbandon : unit -> unit
Attributes

Remarks

Subclasses implement this to take care of being abandoned. This is an optional intermediate state prior to #onReset() -- it means that the client is no longer interested in any new data from the loader, so the loader must not report any further updates. However, the loader <em>must</em> keep its last reported data valid until the final #onReset() happens. You can retrieve the current abandoned state with #isAbandoned.

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

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