Android Guides | Samples

Android.App.LoaderManager.ILoaderCallbacks.OnCreateLoader Method

Instantiate and return a new Loader for the given ID.

Syntax

[Android.Runtime.Register("onCreateLoader", "(ILandroid/os/Bundle;)Landroid/content/Loader;", "GetOnCreateLoader_ILandroid_os_Bundle_Handler:Android.App.LoaderManager/ILoaderCallbacksInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Loader OnCreateLoader (Int32 id, Bundle args)

Parameters

id
The ID whose loader is to be created.
args
Any arguments supplied by the caller.

Remarks

Instantiate and return a new Loader for the given ID.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11