Share via


Loader.ForceLoad Method

Definition

Force an asynchronous load.

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

Remarks

Force an asynchronous load. Unlike #startLoading() this will ignore a previously loaded data set and load a new one. This simply calls through to the implementation's #onForceLoad(). You generally should only call this when the loader is started -- that is, #isStarted() returns true.

Must be called from the process's main thread.

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

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