Partager via


AsyncTaskLoader.OnLoadInBackground Method

Definition

Calls #loadInBackground().

[Android.Runtime.Register("onLoadInBackground", "()Ljava/lang/Object;", "GetOnLoadInBackgroundHandler")]
protected virtual Java.Lang.Object? OnLoadInBackground ();
[<Android.Runtime.Register("onLoadInBackground", "()Ljava/lang/Object;", "GetOnLoadInBackgroundHandler")>]
abstract member OnLoadInBackground : unit -> Java.Lang.Object
override this.OnLoadInBackground : unit -> Java.Lang.Object

Returns

The result of the load operation.

Attributes

Exceptions

if the load is canceled during execution.

Remarks

Calls #loadInBackground().

This method is reserved for use by the loader framework. Subclasses should override #loadInBackground instead of this method.

Java documentation for android.content.AsyncTaskLoader.onLoadInBackground().

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

See also