LoaderManager.GetLoader(Int32) Method

Definition

Return the Loader with the given id or null if no matching Loader is found.

[Android.Runtime.Register("getLoader", "(I)Landroid/content/Loader;", "GetGetLoader_IHandler")]
[Java.Interop.JavaTypeParameters(new System.String[] { "D" })]
public abstract Android.Content.Loader? GetLoader(int id);
[<Android.Runtime.Register("getLoader", "(I)Landroid/content/Loader;", "GetGetLoader_IHandler")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "D" })>]
abstract member GetLoader : int -> Android.Content.Loader

Parameters

id
Int32

int

Returns

The Loader associated with the requested ID, or null if no loader exists.

Attributes

Remarks

Return the Loader with the given id or null if no matching Loader is found.

Android reference for android.app.LoaderManager.getLoader.

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