Skip to content

Most visited

Recently visited

navigation

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.

Annotations

PermissionChecker.PermissionResult  

Interfaces

Loader.OnLoadCanceledListener<D> Interface that is implemented to discover when a Loader has been canceled before it finished loading its data. 
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
ContentResolverCompat Helper for accessing features in ContentResolver introduced after API level 4 in a backwards compatible fashion. 
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. 
ParallelExecutorCompat Helper for accessing a shared parallel Executor instance introduced after API level 4 in a backwards compatible fashion. 
PermissionChecker This class provides permission check APIs that verify both the permission and the associated app op for this permission if such is defined. 
SharedPreferencesCompat  
SharedPreferencesCompat.EditorCompat  
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. 
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.