|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Loader | |
---|---|
android.support.v4.app | Support android.app classes to assist with development of applications for android API level 4 or later. |
android.support.v4.content | Support android.content classes to assist with development of applications for android API level 4 or later. |
Uses of Loader in android.support.v4.app |
---|
Methods in android.support.v4.app that return Loader | ||
---|---|---|
abstract
|
LoaderManager.getLoader(int id)
Return the Loader with the given id or null if no matching Loader is found. |
|
abstract
|
LoaderManager.initLoader(int id,
android.os.Bundle args,
LoaderManager.LoaderCallbacks<D> callback)
Ensures a loader is initialized and active. |
|
Loader<D> |
LoaderManager.LoaderCallbacks.onCreateLoader(int id,
android.os.Bundle args)
Instantiate and return a new Loader for the given ID. |
|
abstract
|
LoaderManager.restartLoader(int id,
android.os.Bundle args,
LoaderManager.LoaderCallbacks<D> callback)
Starts a new or restarts an existing Loader in
this manager, registers the callbacks to it,
and (if the activity/fragment is currently started) starts loading it. |
Methods in android.support.v4.app with parameters of type Loader | |
---|---|
void |
LoaderManager.LoaderCallbacks.onLoaderReset(Loader<D> loader)
Called when a previously created loader is being reset, and thus making its data unavailable. |
void |
LoaderManager.LoaderCallbacks.onLoadFinished(Loader<D> loader,
D data)
Called when a previously created loader has finished its load. |
Uses of Loader in android.support.v4.content |
---|
Subclasses of Loader in android.support.v4.content | |
---|---|
class |
AsyncTaskLoader<D>
Static library support version of the framework's AsyncTaskLoader . |
class |
CursorLoader
Static library support version of the framework's CursorLoader . |
Methods in android.support.v4.content with parameters of type Loader | |
---|---|
void |
Loader.OnLoadCompleteListener.onLoadComplete(Loader<D> loader,
D data)
Called on the thread that created the Loader when the load is complete. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |