LoaderManager.DestroyLoader(Int32) 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.
Stops and removes the loader with the given ID.
[Android.Runtime.Register("destroyLoader", "(I)V", "GetDestroyLoader_IHandler")]
public abstract void DestroyLoader (int id);
[<Android.Runtime.Register("destroyLoader", "(I)V", "GetDestroyLoader_IHandler")>]
abstract member DestroyLoader : int -> unit
Parameters
- id
- Int32
- Attributes
Remarks
Stops and removes the loader with the given ID. If this loader had previously reported data to the client through LoaderCallbacks#onLoadFinished(Loader, Object)
, a call will be made to LoaderCallbacks#onLoaderReset(Loader)
.
Java documentation for android.app.LoaderManager.destroyLoader(int)
.
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.