Android High Performance Programming by 2016

Android High Performance Programming by 2016

Author:2016
Language: eng
Format: epub, mobi
Publisher: Packt Publishing


A LoaderManager class deals with some operations on loaders, as described in the following methods:

initLoader(int id, Bundle args, LoaderCallbacks<D> cb): This initializes a loader assigning it an ID, passing extra arguments, and specifying how to handle the callback. If a loader with the same ID already exists, it is used instead of creating another one.

restartLoader(int id, Bundle args, LoaderCallbacks<D> cb): This starts a loader again or creates a new one if no loaders are associated with the specified ID, passing the extra arguments and the callback instance to handle the response.

getLoader(int id): This returns the loader with the specified ID.

destroyLoader(int id): This stops the loader with the specified ID.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.