Skip to content

Most visited

Recently visited

added in version 22.0.0

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.


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. 


AsyncTaskLoader<D> Static library support version of the framework's AsyncTaskLoader
ContentResolverCompat Helper for accessing features in ContentResolver in a backwards compatible fashion. 
ContextCompat Helper for accessing features in Context
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
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. 
MimeTypeFilter Provides utility methods for matching MIME type filters used in ContentProvider. 
ParallelExecutorCompat This class was deprecated in API level 26.0.0-alpha1. Use AsyncTask directly.  
PermissionChecker This class provides permission check APIs that verify both the permission and the associated app op for this permission if such is defined. 
WakefulBroadcastReceiver This class was deprecated in API level 26.0.0-beta1. As of Android O, background check restrictions make this class no longer generally useful. (It is generally not safe to start a service from the receipt of a broadcast, because you don't have any guarantees that your app is in the foreground at this point and thus allowed to do so.) Instead, developers should use to schedule a job, and this does not require that the app hold a wake lock while doing so (the system will take care of holding a wake lock for the job).  
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

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.