to top
Android APIs
package

android.support.v4.content

Support android.content classes to assist with development of applications for android API level 4 or later. The main features here are Loader and related classes and LocalBroadcastManager to provide a cleaner implementation of broadcasts that don't need to go outside of an app.

Interfaces

Loader.OnLoadCompleteListener<D> Interface that is implemented to discover when a Loader has finished loading its data. 

Classes

AsyncTaskLoader<D> Static library support version of the framework's AsyncTaskLoader
ContextCompat Helper for accessing features in Context introduced after API level 4 in a backwards compatible fashion. 
CursorLoader Static library support version of the framework's CursorLoader
FileProvider FileProvider is a special subclass of ContentProvider that facilitates secure sharing of files associated with an app by creating a content:// Uri for a file instead of a file:/// Uri
IntentCompat Helper for accessing features in Intent introduced after API level 4 in a backwards compatible fashion. 
Loader<D> Static library support version of the framework's Loader
Loader.ForceLoadContentObserver An implementation of a ContentObserver that takes care of connecting it to the Loader to have the loader re-load its data when the observer is told it has changed. 
LocalBroadcastManager Helper to register for and send broadcasts of Intents to local objects within your process. 
WakefulBroadcastReceiver Helper for the common pattern of implementing a BroadcastReceiver that receives a device wakeup event and then passes the work off to a Service, while ensuring that the device does not go back to sleep during the transition.