LoaderManager.ILoaderCallbacks.OnLoaderReset(Loader) Method

Definition

Called when a previously created loader is being reset, and thus making its data unavailable.

[Android.Runtime.Register("onLoaderReset", "(Landroid/content/Loader;)V", "GetOnLoaderReset_Landroid_content_Loader_Handler:Android.App.LoaderManager/ILoaderCallbacksInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnLoaderReset (Android.Content.Loader? loader);
[<Android.Runtime.Register("onLoaderReset", "(Landroid/content/Loader;)V", "GetOnLoaderReset_Landroid_content_Loader_Handler:Android.App.LoaderManager/ILoaderCallbacksInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnLoaderReset : Android.Content.Loader -> unit

Parameters

loader
Loader

The Loader that is being reset.

Attributes

Remarks

Called when a previously created loader is being reset, and thus making its data unavailable. The application should at this point remove any references it has to the Loader's data.

Java documentation for android.app.LoaderManager.LoaderCallbacks.onLoaderReset(android.content.Loader<D>).

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