Loader.OnCancelLoad Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Subclasses must implement this to take care of requests to #cancelLoad().
[Android.Runtime.Register("onCancelLoad", "()Z", "GetOnCancelLoadHandler")]
protected virtual bool OnCancelLoad();[<Android.Runtime.Register("onCancelLoad", "()Z", "GetOnCancelLoadHandler")>]
abstract member OnCancelLoad : unit -> bool
override this.OnCancelLoad : unit -> boolReturns
Returns false if the task could not be canceled,
typically because it has already completed normally, or
because #startLoading() hasn't been called; returns
true otherwise.  When true is returned, the task
is still running and the OnLoadCanceledListener will be called
when the task completes.
- Attributes
Remarks
Subclasses must implement this to take care of requests to #cancelLoad(). This will always be called from the process's main thread.
Java documentation for android.content.Loader.onCancelLoad().
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.