# FragmentActivity

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:support-fragment:28.0.0-alpha1  
Summary:[Inherited Constants](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#inhconstants)\|[Inherited Fields](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#inhfields)\|[Ctors](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#pubctors)\|[Methods](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#pubmethods)\|[Protected Methods](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#promethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)  

# FragmentActivity

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public


class
FragmentActivity
`  
`


``


``


``


``

extends `[Activity](https://developer.android.com/reference/android/app/Activity.html)`


``


implements

LifecycleOwner,

ViewModelStoreOwner,

`[ActivityCompat.OnRequestPermissionsResultCallback](https://developer.android.com/reference/android/support/v4/app/ActivityCompat.OnRequestPermissionsResultCallback)`


`

|---|---|---|---|---|-----------------------------------------|
| java.lang.Object                                       ||||||
| ↳ | [android.content.Context](https://developer.android.com/reference/android/content/Context.html) |||||
|   | ↳ | [android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html) ||||
|   |   | ↳ | [android.view.ContextThemeWrapper](https://developer.android.com/reference/android/view/ContextThemeWrapper.html) |||
|   |   |   | ↳ | [android.app.Activity](https://developer.android.com/reference/android/app/Activity.html) ||
|   |   |   |   | ↳ | android.support.v4.app.FragmentActivity |

|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)Known Direct Subclasses [AppCompatActivity](https://developer.android.com/reference/android/support/v7/app/AppCompatActivity) |-------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------| | [AppCompatActivity](https://developer.android.com/reference/android/support/v7/app/AppCompatActivity) | Base class for activities that use the[support library](https://developer.android.com/tools/extras/support-library)action bar features. | |

<br />

*** ** * ** ***

Base class for activities that want to use the support-based[Fragment](https://developer.android.com/reference/android/support/v4/app/Fragment)and[Loader](https://developer.android.com/reference/android/support/v4/content/Loader)APIs.

When using this class as opposed to new platform's built-in fragment and loader support, you must use the[getSupportFragmentManager()](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#getSupportFragmentManager())and[getSupportLoaderManager()](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#getSupportLoaderManager())methods respectively to access those features.

Known limitations:

- When using the`<fragment>`tag, this implementation can not use the parent view's ID as the new fragment's ID. You must explicitly specify an ID (or tag) in the`<fragment>`.

<br />

## Summary

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ### Inherited constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From class` android.app.Activity ` |-------|-------------------------------------| | `int` | `DEFAULT_KEYS_DIALER` <br />        | | `int` | `DEFAULT_KEYS_DISABLE` <br />       | | `int` | `DEFAULT_KEYS_SEARCH_GLOBAL` <br /> | | `int` | `DEFAULT_KEYS_SEARCH_LOCAL` <br />  | | `int` | `DEFAULT_KEYS_SHORTCUT` <br />      | | `int` | `RESULT_CANCELED` <br />            | | `int` | `RESULT_FIRST_USER` <br />          | | `int` | `RESULT_OK` <br />                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From class` android.content.Context ` |----------|-------------------------------------------| | `String` | `ACCESSIBILITY_SERVICE` <br />            | | `String` | `ACCOUNT_SERVICE` <br />                  | | `String` | `ACTIVITY_SERVICE` <br />                 | | `String` | `ALARM_SERVICE` <br />                    | | `String` | `APPWIDGET_SERVICE` <br />                | | `String` | `APP_OPS_SERVICE` <br />                  | | `String` | `AUDIO_SERVICE` <br />                    | | `String` | `BATTERY_SERVICE` <br />                  | | `int`    | `BIND_ABOVE_CLIENT` <br />                | | `int`    | `BIND_ADJUST_WITH_ACTIVITY` <br />        | | `int`    | `BIND_ALLOW_OOM_MANAGEMENT` <br />        | | `int`    | `BIND_AUTO_CREATE` <br />                 | | `int`    | `BIND_DEBUG_UNBIND` <br />                | | `int`    | `BIND_EXTERNAL_SERVICE` <br />            | | `int`    | `BIND_IMPORTANT` <br />                   | | `int`    | `BIND_NOT_FOREGROUND` <br />              | | `int`    | `BIND_WAIVE_PRIORITY` <br />              | | `String` | `BLUETOOTH_SERVICE` <br />                | | `String` | `CAMERA_SERVICE` <br />                   | | `String` | `CAPTIONING_SERVICE` <br />               | | `String` | `CARRIER_CONFIG_SERVICE` <br />           | | `String` | `CLIPBOARD_SERVICE` <br />                | | `String` | `COMPANION_DEVICE_SERVICE` <br />         | | `String` | `CONNECTIVITY_SERVICE` <br />             | | `String` | `CONSUMER_IR_SERVICE` <br />              | | `int`    | `CONTEXT_IGNORE_SECURITY` <br />          | | `int`    | `CONTEXT_INCLUDE_CODE` <br />             | | `int`    | `CONTEXT_RESTRICTED` <br />               | | `String` | `CROSS_PROFILE_APPS_SERVICE` <br />       | | `String` | `DEVICE_POLICY_SERVICE` <br />            | | `String` | `DISPLAY_SERVICE` <br />                  | | `String` | `DOWNLOAD_SERVICE` <br />                 | | `String` | `DROPBOX_SERVICE` <br />                  | | `String` | `FINGERPRINT_SERVICE` <br />              | | `String` | `HARDWARE_PROPERTIES_SERVICE` <br />      | | `String` | `INPUT_METHOD_SERVICE` <br />             | | `String` | `INPUT_SERVICE` <br />                    | | `String` | `IPSEC_SERVICE` <br />                    | | `String` | `JOB_SCHEDULER_SERVICE` <br />            | | `String` | `KEYGUARD_SERVICE` <br />                 | | `String` | `LAUNCHER_APPS_SERVICE` <br />            | | `String` | `LAYOUT_INFLATER_SERVICE` <br />          | | `String` | `LOCATION_SERVICE` <br />                 | | `String` | `MEDIA_PROJECTION_SERVICE` <br />         | | `String` | `MEDIA_ROUTER_SERVICE` <br />             | | `String` | `MEDIA_SESSION_SERVICE` <br />            | | `String` | `MIDI_SERVICE` <br />                     | | `int`    | `MODE_APPEND` <br />                      | | `int`    | `MODE_ENABLE_WRITE_AHEAD_LOGGING` <br />  | | `int`    | `MODE_MULTI_PROCESS` <br />               | | `int`    | `MODE_NO_LOCALIZED_COLLATORS` <br />      | | `int`    | `MODE_PRIVATE` <br />                     | | `int`    | `MODE_WORLD_READABLE` <br />              | | `int`    | `MODE_WORLD_WRITEABLE` <br />             | | `String` | `NETWORK_STATS_SERVICE` <br />            | | `String` | `NFC_SERVICE` <br />                      | | `String` | `NOTIFICATION_SERVICE` <br />             | | `String` | `NSD_SERVICE` <br />                      | | `String` | `POWER_SERVICE` <br />                    | | `String` | `PRINT_SERVICE` <br />                    | | `int`    | `RECEIVER_VISIBLE_TO_INSTANT_APPS` <br /> | | `String` | `RESTRICTIONS_SERVICE` <br />             | | `String` | `SEARCH_SERVICE` <br />                   | | `String` | `SENSOR_SERVICE` <br />                   | | `String` | `SHORTCUT_SERVICE` <br />                 | | `String` | `STORAGE_SERVICE` <br />                  | | `String` | `STORAGE_STATS_SERVICE` <br />            | | `String` | `SYSTEM_HEALTH_SERVICE` <br />            | | `String` | `TELECOM_SERVICE` <br />                  | | `String` | `TELEPHONY_SERVICE` <br />                | | `String` | `TELEPHONY_SUBSCRIPTION_SERVICE` <br />   | | `String` | `TEXT_CLASSIFICATION_SERVICE` <br />      | | `String` | `TEXT_SERVICES_MANAGER_SERVICE` <br />    | | `String` | `TV_INPUT_SERVICE` <br />                 | | `String` | `UI_MODE_SERVICE` <br />                  | | `String` | `USAGE_STATS_SERVICE` <br />              | | `String` | `USB_SERVICE` <br />                      | | `String` | `USER_SERVICE` <br />                     | | `String` | `VIBRATOR_SERVICE` <br />                 | | `String` | `WALLPAPER_SERVICE` <br />                | | `String` | `WIFI_AWARE_SERVICE` <br />               | | `String` | `WIFI_P2P_SERVICE` <br />                 | | `String` | `WIFI_RTT_RANGING_SERVICE` <br />         | | `String` | `WIFI_SERVICE` <br />                     | | `String` | `WINDOW_SERVICE` <br />                   | |
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From interface` android.content.ComponentCallbacks2 ` |-------|---------------------------------------| | `int` | `TRIM_MEMORY_BACKGROUND` <br />       | | `int` | `TRIM_MEMORY_COMPLETE` <br />         | | `int` | `TRIM_MEMORY_MODERATE` <br />         | | `int` | `TRIM_MEMORY_RUNNING_CRITICAL` <br /> | | `int` | `TRIM_MEMORY_RUNNING_LOW` <br />      | | `int` | `TRIM_MEMORY_RUNNING_MODERATE` <br /> | | `int` | `TRIM_MEMORY_UI_HIDDEN` <br />        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

|                                                                                                                                                            ### Inherited fields                                                                                                                                                            |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From class` android.app.Activity ` |---------------------------------|----------------------------| | ` protected static final int[]` | `FOCUSED_STATE_SET` <br /> | |

|                                                      ### Public constructors                                                      ||
|--------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[FragmentActivity](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#FragmentActivity())`() ` |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                     ### Public methods                                                                                                                                                                                                                                                                                                                                                                                                                                                     ||
|------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void`                                                                                              | ` `[dump](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]))`(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) ` Print the Activity's state into the given stream.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` Object`                                                                                            | ` `[getLastCustomNonConfigurationInstance](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#getLastCustomNonConfigurationInstance())`() ` Return the value previously returned from[onRetainCustomNonConfigurationInstance()](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onRetainCustomNonConfigurationInstance()).                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ` Lifecycle`                                                                                         | ` `[getLifecycle](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#getLifecycle())`() ` Returns the Lifecycle of the provider.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` `[FragmentManager](https://developer.android.com/reference/android/support/v4/app/FragmentManager) | ` `[getSupportFragmentManager](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#getSupportFragmentManager())`() ` Return the FragmentManager for interacting with fragments associated with this activity.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` `[LoaderManager](https://developer.android.com/reference/android/support/v4/app/LoaderManager)     | ` `[getSupportLoaderManager](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#getSupportLoaderManager())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` ViewModelStore`                                                                                    | ` `[getViewModelStore](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#getViewModelStore())`() ` Returns the[ViewModelStore](https://developer.android.com/reference/android/arch/lifecycle/ViewModelStore)associated with this activity                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ` void`                                                                                              | ` `[onAttachFragment](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onAttachFragment(android.support.v4.app.Fragment))`(`[Fragment](https://developer.android.com/reference/android/support/v4/app/Fragment)` fragment) ` Called when a fragment is attached to the activity.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` void`                                                                                              | ` `[onBackPressed](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onBackPressed())`() ` Take care of popping the fragment back stack or finishing the activity as appropriate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` void`                                                                                              | ` `[onConfigurationChanged](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onConfigurationChanged(android.content.res.Configuration))`(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` newConfig) ` Dispatch configuration change to all fragments.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ` boolean`                                                                                           | ` `[onCreatePanelMenu](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onCreatePanelMenu(int, android.view.Menu))`(int featureId, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` menu) ` Dispatch to Fragment.onCreateOptionsMenu().                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` `[View](https://developer.android.com/reference/android/view/View.html)                            | ` `[onCreateView](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onCreateView(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet))`(`[View](https://developer.android.com/reference/android/view/View.html)` parent, String name, `[Context](https://developer.android.com/reference/android/content/Context.html)` context, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` attrs) `                                                                                                                                                                                                                                                                                                                 |
| ` `[View](https://developer.android.com/reference/android/view/View.html)                            | ` `[onCreateView](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onCreateView(java.lang.String, android.content.Context, android.util.AttributeSet))`(String name, `[Context](https://developer.android.com/reference/android/content/Context.html)` context, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` attrs) `                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ` void`                                                                                              | ` `[onLowMemory](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onLowMemory())`() ` Dispatch onLowMemory() to all fragments.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` boolean`                                                                                           | ` `[onMenuItemSelected](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onMenuItemSelected(int, android.view.MenuItem))`(int featureId, `[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)` item) ` Dispatch context and options menu to fragments.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ` void`                                                                                              | ` `[onMultiWindowModeChanged](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onMultiWindowModeChanged(boolean))`(boolean isInMultiWindowMode) ` <br /> **Note:** If you override this method you must call`super.onMultiWindowModeChanged`to correctly dispatch the event to support fragments attached to this activity.                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ` void`                                                                                              | ` `[onPanelClosed](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onPanelClosed(int, android.view.Menu))`(int featureId, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` menu) ` Call onOptionsMenuClosed() on fragments.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ` void`                                                                                              | ` `[onPictureInPictureModeChanged](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onPictureInPictureModeChanged(boolean))`(boolean isInPictureInPictureMode) ` <br /> **Note:** If you override this method you must call`super.onPictureInPictureModeChanged`to correctly dispatch the event to support fragments attached to this activity.                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` boolean`                                                                                           | ` `[onPreparePanel](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onPreparePanel(int, android.view.View, android.view.Menu))`(int featureId, `[View](https://developer.android.com/reference/android/view/View.html)` view, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` menu) ` Dispatch onPrepareOptionsMenu() to fragments.                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` void`                                                                                              | ` `[onRequestPermissionsResult](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onRequestPermissionsResult(int, java.lang.String[], int[]))`(int requestCode, String[] permissions, int[] grantResults) ` Callback for the result from requesting permissions.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` Object`                                                                                            | ` `[onRetainCustomNonConfigurationInstance](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onRetainCustomNonConfigurationInstance())`() ` Use this instead of[onRetainNonConfigurationInstance()](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onRetainNonConfigurationInstance()).                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ` final Object`                                                                                      | ` `[onRetainNonConfigurationInstance](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onRetainNonConfigurationInstance())`() ` Retain all appropriate fragment state.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` void`                                                                                              | ` `[onStateNotSaved](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onStateNotSaved())`() ` Hook in to note that fragment state is no longer saved.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ` void`                                                                                              | ` `[setEnterSharedElementCallback](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#setEnterSharedElementCallback(android.support.v4.app.SharedElementCallback))`(`[SharedElementCallback](https://developer.android.com/reference/android/support/v4/app/SharedElementCallback)` callback) ` When[makeSceneTransitionAnimation(Activity, android.view.View, String)](https://developer.android.com/reference/android/app/ActivityOptions.html#makeSceneTransitionAnimation(android.app.Activity, android.view.View, java.lang.String))was used to start an Activity,<var translate="no">callback</var>will be called to handle shared elements on the*launched*Activity.                                                                                                             |
| ` void`                                                                                              | ` `[setExitSharedElementCallback](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#setExitSharedElementCallback(android.support.v4.app.SharedElementCallback))`(`[SharedElementCallback](https://developer.android.com/reference/android/support/v4/app/SharedElementCallback)` listener) ` When[makeSceneTransitionAnimation(Activity, android.view.View, String)](https://developer.android.com/reference/android/app/ActivityOptions.html#makeSceneTransitionAnimation(android.app.Activity, android.view.View, java.lang.String))was used to start an Activity,<var translate="no">listener</var>will be called to handle shared elements on the*launching*Activity.                                                                                                              |
| ` void`                                                                                              | ` `[startActivityForResult](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#startActivityForResult(android.content.Intent, int, android.os.Bundle))`(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` intent, int requestCode, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` options) `                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ` void`                                                                                              | ` `[startActivityForResult](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#startActivityForResult(android.content.Intent, int))`(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` intent, int requestCode) ` Modifies the standard behavior to allow results to be delivered to fragments.                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ` void`                                                                                              | ` `[startActivityFromFragment](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#startActivityFromFragment(android.support.v4.app.Fragment, android.content.Intent, int))`(`[Fragment](https://developer.android.com/reference/android/support/v4/app/Fragment)` fragment, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` intent, int requestCode) ` Called by Fragment.startActivityForResult() to implement its behavior.                                                                                                                                                                                                                                                                                                                           |
| ` void`                                                                                              | ` `[startActivityFromFragment](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#startActivityFromFragment(android.support.v4.app.Fragment, android.content.Intent, int, android.os.Bundle))`(`[Fragment](https://developer.android.com/reference/android/support/v4/app/Fragment)` fragment, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` intent, int requestCode, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` options) ` Called by Fragment.startActivityForResult() to implement its behavior.                                                                                                                                                                                                                    |
| ` void`                                                                                              | ` `[startIntentSenderForResult](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#startIntentSenderForResult(android.content.IntentSender, int, android.content.Intent, int, int, int))`(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` intent, int requestCode, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` fillInIntent, int flagsMask, int flagsValues, int extraFlags) `                                                                                                                                                                                                                                                                                                                          |
| ` void`                                                                                              | ` `[startIntentSenderForResult](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#startIntentSenderForResult(android.content.IntentSender, int, android.content.Intent, int, int, int, android.os.Bundle))`(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` intent, int requestCode, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` fillInIntent, int flagsMask, int flagsValues, int extraFlags, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` options) `                                                                                                                                                                                                                   |
| ` void`                                                                                              | ` `[startIntentSenderFromFragment](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#startIntentSenderFromFragment(android.support.v4.app.Fragment, android.content.IntentSender, int, android.content.Intent, int, int, int, android.os.Bundle))`(`[Fragment](https://developer.android.com/reference/android/support/v4/app/Fragment)` fragment, `[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` intent, int requestCode, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` fillInIntent, int flagsMask, int flagsValues, int extraFlags, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` options) ` Called by Fragment.startIntentSenderForResult() to implement its behavior. |
| ` void`                                                                                              | ` `[supportFinishAfterTransition](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#supportFinishAfterTransition())`() ` Reverses the Activity Scene entry Transition and triggers the calling Activity to reverse its exit Transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` void`                                                                                              | ` `[supportInvalidateOptionsMenu](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#supportInvalidateOptionsMenu())`() ` *This method was deprecated in API level 26.1.0. Call[invalidateOptionsMenu()](https://developer.android.com/reference/android/app/Activity.html#invalidateOptionsMenu())directly.*                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ` void`                                                                                              | ` `[supportPostponeEnterTransition](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#supportPostponeEnterTransition())`() ` Support library version of[postponeEnterTransition()](https://developer.android.com/reference/android/app/Activity.html#postponeEnterTransition())that works only on API 21 and later.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ` void`                                                                                              | ` `[supportStartPostponedEnterTransition](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#supportStartPostponedEnterTransition())`() ` Support library version of[startPostponedEnterTransition()](https://developer.android.com/reference/android/app/Activity.html#startPostponedEnterTransition())that only works with API 21 and later.                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` final void`                                                                                        | ` `[validateRequestPermissionsRequestCode](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#validateRequestPermissionsRequestCode(int))`(int requestCode) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |

|                                                                                                                                                                                           ### Protected methods                                                                                                                                                                                            ||
|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void` | ` `[onActivityResult](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onActivityResult(int, int, android.content.Intent))`(int requestCode, int resultCode, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` data) ` Dispatch incoming result to the correct fragment.                                                             |
| ` void` | ` `[onCreate](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onCreate(android.os.Bundle))`(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` savedInstanceState) ` Perform initialization of all fragments.                                                                                                                             |
| ` void` | ` `[onDestroy](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onDestroy())`() ` Destroy all fragments.                                                                                                                                                                                                                                                           |
| ` void` | ` `[onNewIntent](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onNewIntent(android.content.Intent))`(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` intent) ` Handle onNewIntent() to inform the fragment manager that the state is not saved.                                                                                 |
| ` void` | ` `[onPause](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onPause())`() ` Dispatch onPause() to fragments.                                                                                                                                                                                                                                                     |
| ` void` | ` `[onPostResume](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onPostResume())`() ` Dispatch onResume() to fragments.                                                                                                                                                                                                                                          |
| ` void` | ` `[onResume](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onResume())`() ` Dispatch onResume() to fragments.                                                                                                                                                                                                                                                  |
| ` void` | ` `[onResumeFragments](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onResumeFragments())`() ` This is the fragment-orientated version of[onResume()](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onResume())that you can override to perform operations in the Activity at the same point where its fragments are resumed. |
| ` void` | ` `[onSaveInstanceState](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onSaveInstanceState(android.os.Bundle))`(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` outState) ` Save all appropriate fragment state.                                                                                                                     |
| ` void` | ` `[onStart](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onStart())`() ` Dispatch onStart() to all fragments.                                                                                                                                                                                                                                                 |
| ` void` | ` `[onStop](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onStop())`() ` Dispatch onStop() to all fragments.                                                                                                                                                                                                                                                    |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From class` `[android.app.Activity](https://developer.android.com/reference/android/app/Activity.html)` ` |----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                                                        | ` addContentView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1) `                                                                                                                                                                                                                  | | ` void`                                                                                                        | ` attachBaseContext(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0) `                                                                                                                                                                                                                                                                                                                         | | ` void`                                                                                                        | ` closeContextMenu() `                                                                                                                                                                                                                                                                                                                                                                                                                | | ` void`                                                                                                        | ` closeOptionsMenu() `                                                                                                                                                                                                                                                                                                                                                                                                                | | ` `[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)                     | ` createPendingResult(int arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                     | | ` final void`                                                                                                  | ` dismissDialog(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                           | | ` final void`                                                                                                  | ` dismissKeyboardShortcutsHelper() `                                                                                                                                                                                                                                                                                                                                                                                                  | | ` boolean`                                                                                                     | ` dispatchGenericMotionEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                                                                                                                                                                           | | ` boolean`                                                                                                     | ` dispatchKeyEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                                                                                                                                                                                           | | ` boolean`                                                                                                     | ` dispatchKeyShortcutEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                     | ` dispatchPopulateAccessibilityEvent(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) `                                                                                                                                                                                                                                                                       | | ` boolean`                                                                                                     | ` dispatchTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                     | ` dispatchTrackballEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                                        | ` dump(String arg0, FileDescriptor arg1, PrintWriter arg2, String[] arg3) `                                                                                                                                                                                                                                                                                                                                                           | | ` boolean`                                                                                                     | ` enterPictureInPictureMode(`[PictureInPictureParams](https://developer.android.com/reference/android/app/PictureInPictureParams.html)` arg0) `                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` enterPictureInPictureMode() `                                                                                                                                                                                                                                                                                                                                                                                                       | | ` <T extends `[View](https://developer.android.com/reference/android/view/View.html)`> T`                      | ` findViewById(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                        | ` finish() `                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` void`                                                                                                        | ` finishActivity(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                          | | ` void`                                                                                                        | ` finishActivityFromChild(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                           | | ` void`                                                                                                        | ` finishAffinity() `                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` void`                                                                                                        | ` finishAfterTransition() `                                                                                                                                                                                                                                                                                                                                                                                                           | | ` void`                                                                                                        | ` finishAndRemoveTask() `                                                                                                                                                                                                                                                                                                                                                                                                             | | ` void`                                                                                                        | ` finishFromChild(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` arg0) `                                                                                                                                                                                                                                                                                                                             | | ` `[ActionBar](https://developer.android.com/reference/android/app/ActionBar.html)                             | ` getActionBar() `                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` final `[Application](https://developer.android.com/reference/android/app/Application.html)                   | ` getApplication() `                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)                 | ` getCallingActivity() `                                                                                                                                                                                                                                                                                                                                                                                                              | | ` String`                                                                                                      | ` getCallingPackage() `                                                                                                                                                                                                                                                                                                                                                                                                               | | ` int`                                                                                                         | ` getChangingConfigurations() `                                                                                                                                                                                                                                                                                                                                                                                                       | | ` `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)                 | ` getComponentName() `                                                                                                                                                                                                                                                                                                                                                                                                                | | ` `[Scene](https://developer.android.com/reference/android/transition/Scene.html)                              | ` getContentScene() `                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` `[TransitionManager](https://developer.android.com/reference/android/transition/TransitionManager.html)      | ` getContentTransitionManager() `                                                                                                                                                                                                                                                                                                                                                                                                     | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                      | ` getCurrentFocus() `                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` `[FragmentManager](https://developer.android.com/reference/android/app/FragmentManager.html)                 | ` getFragmentManager() `                                                                                                                                                                                                                                                                                                                                                                                                              | | ` `[Intent](https://developer.android.com/reference/android/content/Intent.html)                               | ` getIntent() `                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` Object`                                                                                                      | ` getLastNonConfigurationInstance() `                                                                                                                                                                                                                                                                                                                                                                                                 | | ` `[LayoutInflater](https://developer.android.com/reference/android/view/LayoutInflater.html)                  | ` getLayoutInflater() `                                                                                                                                                                                                                                                                                                                                                                                                               | | ` `[LoaderManager](https://developer.android.com/reference/android/app/LoaderManager.html)                     | ` getLoaderManager() `                                                                                                                                                                                                                                                                                                                                                                                                                | | ` String`                                                                                                      | ` getLocalClassName() `                                                                                                                                                                                                                                                                                                                                                                                                               | | ` int`                                                                                                         | ` getMaxNumPictureInPictureActions() `                                                                                                                                                                                                                                                                                                                                                                                                | | ` final `[MediaController](https://developer.android.com/reference/android/media/session/MediaController.html) | ` getMediaController() `                                                                                                                                                                                                                                                                                                                                                                                                              | | ` `[MenuInflater](https://developer.android.com/reference/android/view/MenuInflater.html)                      | ` getMenuInflater() `                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` final `[Activity](https://developer.android.com/reference/android/app/Activity.html)                         | ` getParent() `                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` `[Intent](https://developer.android.com/reference/android/content/Intent.html)                               | ` getParentActivityIntent() `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` `[SharedPreferences](https://developer.android.com/reference/android/content/SharedPreferences.html)         | ` getPreferences(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                          | | ` `[Uri](https://developer.android.com/reference/android/net/Uri.html)                                         | ` getReferrer() `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` int`                                                                                                         | ` getRequestedOrientation() `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` final `[SearchEvent](https://developer.android.com/reference/android/view/SearchEvent.html)                  | ` getSearchEvent() `                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` Object`                                                                                                      | ` getSystemService(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                     | | ` int`                                                                                                         | ` getTaskId() `                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` final CharSequence`                                                                                          | ` getTitle() `                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` final int`                                                                                                   | ` getTitleColor() `                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` `[VoiceInteractor](https://developer.android.com/reference/android/app/VoiceInteractor.html)                 | ` getVoiceInteractor() `                                                                                                                                                                                                                                                                                                                                                                                                              | | ` final int`                                                                                                   | ` getVolumeControlStream() `                                                                                                                                                                                                                                                                                                                                                                                                          | | ` `[Window](https://developer.android.com/reference/android/view/Window.html)                                  | ` getWindow() `                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` `[WindowManager](https://developer.android.com/reference/android/view/WindowManager.html)                    | ` getWindowManager() `                                                                                                                                                                                                                                                                                                                                                                                                                | | ` boolean`                                                                                                     | ` hasWindowFocus() `                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` void`                                                                                                        | ` invalidateOptionsMenu() `                                                                                                                                                                                                                                                                                                                                                                                                           | | ` boolean`                                                                                                     | ` isActivityTransitionRunning() `                                                                                                                                                                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                     | ` isChangingConfigurations() `                                                                                                                                                                                                                                                                                                                                                                                                        | | ` final boolean`                                                                                               | ` isChild() `                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` boolean`                                                                                                     | ` isDestroyed() `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                     | ` isFinishing() `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                     | ` isImmersive() `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                     | ` isInMultiWindowMode() `                                                                                                                                                                                                                                                                                                                                                                                                             | | ` boolean`                                                                                                     | ` isInPictureInPictureMode() `                                                                                                                                                                                                                                                                                                                                                                                                        | | ` boolean`                                                                                                     | ` isLocalVoiceInteractionSupported() `                                                                                                                                                                                                                                                                                                                                                                                                | | ` boolean`                                                                                                     | ` isTaskRoot() `                                                                                                                                                                                                                                                                                                                                                                                                                      | | ` boolean`                                                                                                     | ` isVoiceInteraction() `                                                                                                                                                                                                                                                                                                                                                                                                              | | ` boolean`                                                                                                     | ` isVoiceInteractionRoot() `                                                                                                                                                                                                                                                                                                                                                                                                          | | ` final `[Cursor](https://developer.android.com/reference/android/database/Cursor.html)                        | ` managedQuery(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, String[] arg1, String arg2, String[] arg3, String arg4) `                                                                                                                                                                                                                                                                                  | | ` boolean`                                                                                                     | ` moveTaskToBack(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                                      | | ` boolean`                                                                                                     | ` navigateUpTo(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                | | ` boolean`                                                                                                     | ` navigateUpToFromChild(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1) `                                                                                                                                                                                                                                 | | ` void`                                                                                                        | ` onActionModeFinished(`[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)` arg0) `                                                                                                                                                                                                                                                                                                                   | | ` void`                                                                                                        | ` onActionModeStarted(`[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)` arg0) `                                                                                                                                                                                                                                                                                                                    | | ` void`                                                                                                        | ` onActivityReenter(int arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1) `                                                                                                                                                                                                                                                                                                                 | | ` void`                                                                                                        | ` onActivityResult(int arg0, int arg1, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg2) `                                                                                                                                                                                                                                                                                                        | | ` void`                                                                                                        | ` onApplyThemeResource(`[Resources.Theme](https://developer.android.com/reference/android/content/res/Resources.Theme.html)` arg0, int arg1, boolean arg2) `                                                                                                                                                                                                                                                                          | | ` void`                                                                                                        | ` onAttachFragment(`[Fragment](https://developer.android.com/reference/android/app/Fragment.html)` arg0) `                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                        | ` onAttachedToWindow() `                                                                                                                                                                                                                                                                                                                                                                                                              | | ` void`                                                                                                        | ` onBackPressed() `                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` void`                                                                                                        | ` onChildTitleChanged(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` arg0, CharSequence arg1) `                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                                        | ` onConfigurationChanged(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                                                                                                                                                                                                                                                                                                    | | ` void`                                                                                                        | ` onContentChanged() `                                                                                                                                                                                                                                                                                                                                                                                                                | | ` boolean`                                                                                                     | ` onContextItemSelected(`[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)` arg0) `                                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                                        | ` onContextMenuClosed(`[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg0) `                                                                                                                                                                                                                                                                                                                                | | ` void`                                                                                                        | ` onCreate(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0, `[PersistableBundle](https://developer.android.com/reference/android/os/PersistableBundle.html)` arg1) `                                                                                                                                                                                                                                  | | ` void`                                                                                                        | ` onCreate(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                                                                                                                         | | ` void`                                                                                                        | ` onCreateContextMenu(`[ContextMenu](https://developer.android.com/reference/android/view/ContextMenu.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, `[ContextMenu.ContextMenuInfo](https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html)` arg2) `                                                                                                      | | ` CharSequence`                                                                                                | ` onCreateDescription() `                                                                                                                                                                                                                                                                                                                                                                                                             | | ` `[Dialog](https://developer.android.com/reference/android/app/Dialog.html)                                   | ` onCreateDialog(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                          | | ` `[Dialog](https://developer.android.com/reference/android/app/Dialog.html)                                   | ` onCreateDialog(int arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                                                                                                         | | ` void`                                                                                                        | ` onCreateNavigateUpTaskStack(`[TaskStackBuilder](https://developer.android.com/reference/android/app/TaskStackBuilder.html)` arg0) `                                                                                                                                                                                                                                                                                                 | | ` boolean`                                                                                                     | ` onCreateOptionsMenu(`[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg0) `                                                                                                                                                                                                                                                                                                                                | | ` boolean`                                                                                                     | ` onCreatePanelMenu(int arg0, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg1) `                                                                                                                                                                                                                                                                                                                        | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                      | ` onCreatePanelView(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                       | | ` boolean`                                                                                                     | ` onCreateThumbnail(`[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)` arg0, `[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg1) `                                                                                                                                                                                                                                   | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                      | ` onCreateView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, String arg1, `[Context](https://developer.android.com/reference/android/content/Context.html)` arg2, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg3) `                                                                                                                                   | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                      | ` onCreateView(String arg0, `[Context](https://developer.android.com/reference/android/content/Context.html)` arg1, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg2) `                                                                                                                                                                                                                  | | ` void`                                                                                                        | ` onDestroy() `                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` onDetachedFromWindow() `                                                                                                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                        | ` onEnterAnimationComplete() `                                                                                                                                                                                                                                                                                                                                                                                                        | | ` boolean`                                                                                                     | ` onGenericMotionEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                                                                                                                                                                                 | | ` boolean`                                                                                                     | ` onKeyDown(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                                                                                                                                                                                        | | ` boolean`                                                                                                     | ` onKeyLongPress(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                     | ` onKeyMultiple(int arg0, int arg1, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg2) `                                                                                                                                                                                                                                                                                                          | | ` boolean`                                                                                                     | ` onKeyShortcut(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                     | ` onKeyUp(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                                                                                                                                                                                          | | ` void`                                                                                                        | ` onLocalVoiceInteractionStarted() `                                                                                                                                                                                                                                                                                                                                                                                                  | | ` void`                                                                                                        | ` onLocalVoiceInteractionStopped() `                                                                                                                                                                                                                                                                                                                                                                                                  | | ` void`                                                                                                        | ` onLowMemory() `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                     | ` onMenuItemSelected(int arg0, `[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)` arg1) `                                                                                                                                                                                                                                                                                                               | | ` boolean`                                                                                                     | ` onMenuOpened(int arg0, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg1) `                                                                                                                                                                                                                                                                                                                             | | ` void`                                                                                                        | ` onMultiWindowModeChanged(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                        | ` onMultiWindowModeChanged(boolean arg0, `[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg1) `                                                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                     | ` onNavigateUp() `                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                     | ` onNavigateUpFromChild(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` arg0) `                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` onNewIntent(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                 | | ` boolean`                                                                                                     | ` onOptionsItemSelected(`[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)` arg0) `                                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                                        | ` onOptionsMenuClosed(`[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg0) `                                                                                                                                                                                                                                                                                                                                | | ` void`                                                                                                        | ` onPanelClosed(int arg0, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg1) `                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                        | ` onPause() `                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` void`                                                                                                        | ` onPictureInPictureModeChanged(boolean arg0, `[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg1) `                                                                                                                                                                                                                                                                               | | ` void`                                                                                                        | ` onPictureInPictureModeChanged(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` onPostCreate(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                        | ` onPostCreate(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0, `[PersistableBundle](https://developer.android.com/reference/android/os/PersistableBundle.html)` arg1) `                                                                                                                                                                                                                              | | ` void`                                                                                                        | ` onPostResume() `                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` void`                                                                                                        | ` onPrepareDialog(int arg0, `[Dialog](https://developer.android.com/reference/android/app/Dialog.html)` arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                                                                                                                                                                                                      | | ` void`                                                                                                        | ` onPrepareDialog(int arg0, `[Dialog](https://developer.android.com/reference/android/app/Dialog.html)` arg1) `                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` onPrepareNavigateUpTaskStack(`[TaskStackBuilder](https://developer.android.com/reference/android/app/TaskStackBuilder.html)` arg0) `                                                                                                                                                                                                                                                                                                | | ` boolean`                                                                                                     | ` onPrepareOptionsMenu(`[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg0) `                                                                                                                                                                                                                                                                                                                               | | ` boolean`                                                                                                     | ` onPreparePanel(int arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg2) `                                                                                                                                                                                                                                            | | ` void`                                                                                                        | ` onProvideAssistContent(`[AssistContent](https://developer.android.com/reference/android/app/assist/AssistContent.html)` arg0) `                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                        | ` onProvideAssistData(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                                                                                                              | | ` void`                                                                                                        | ` onProvideKeyboardShortcuts(List<`[KeyboardShortcutGroup](https://developer.android.com/reference/android/view/KeyboardShortcutGroup.html)`> arg0, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg1, int arg2) `                                                                                                                                                                                        | | ` `[Uri](https://developer.android.com/reference/android/net/Uri.html)                                         | ` onProvideReferrer() `                                                                                                                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                                        | ` onRequestPermissionsResult(int arg0, String[] arg1, int[] arg2) `                                                                                                                                                                                                                                                                                                                                                                   | | ` void`                                                                                                        | ` onRestart() `                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` onRestoreInstanceState(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                                                                                                           | | ` void`                                                                                                        | ` onRestoreInstanceState(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0, `[PersistableBundle](https://developer.android.com/reference/android/os/PersistableBundle.html)` arg1) `                                                                                                                                                                                                                    | | ` void`                                                                                                        | ` onResume() `                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` Object`                                                                                                      | ` onRetainNonConfigurationInstance() `                                                                                                                                                                                                                                                                                                                                                                                                | | ` void`                                                                                                        | ` onSaveInstanceState(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0, `[PersistableBundle](https://developer.android.com/reference/android/os/PersistableBundle.html)` arg1) `                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` onSaveInstanceState(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                                                                                                              | | ` boolean`                                                                                                     | ` onSearchRequested(`[SearchEvent](https://developer.android.com/reference/android/view/SearchEvent.html)` arg0) `                                                                                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                     | ` onSearchRequested() `                                                                                                                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                                        | ` onStart() `                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` void`                                                                                                        | ` onStateNotSaved() `                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` void`                                                                                                        | ` onStop() `                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` void`                                                                                                        | ` onTitleChanged(CharSequence arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                       | | ` boolean`                                                                                                     | ` onTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                                                                                                                                                                                         | | ` boolean`                                                                                                     | ` onTrackballEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                        | ` onTrimMemory(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                        | ` onUserInteraction() `                                                                                                                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                                        | ` onUserLeaveHint() `                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` void`                                                                                                        | ` onVisibleBehindCanceled() `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` void`                                                                                                        | ` onWindowAttributesChanged(`[WindowManager.LayoutParams](https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html)` arg0) `                                                                                                                                                                                                                                                                              | | ` void`                                                                                                        | ` onWindowFocusChanged(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                                | | ` `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)                          | ` onWindowStartingActionMode(`[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                 | | ` `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)                          | ` onWindowStartingActionMode(`[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg0) `                                                                                                                                                                                                                                                                                           | | ` void`                                                                                                        | ` openContextMenu(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                                                                                                                                                                    | | ` void`                                                                                                        | ` openOptionsMenu() `                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` void`                                                                                                        | ` overridePendingTransition(int arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                        | ` postponeEnterTransition() `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` void`                                                                                                        | ` recreate() `                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` void`                                                                                                        | ` registerForContextMenu(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                                                                                                                                                             | | ` boolean`                                                                                                     | ` releaseInstance() `                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` final void`                                                                                                  | ` removeDialog(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                        | ` reportFullyDrawn() `                                                                                                                                                                                                                                                                                                                                                                                                                | | ` `[DragAndDropPermissions](https://developer.android.com/reference/android/view/DragAndDropPermissions.html)  | ` requestDragAndDropPermissions(`[DragEvent](https://developer.android.com/reference/android/view/DragEvent.html)` arg0) `                                                                                                                                                                                                                                                                                                            | | ` final void`                                                                                                  | ` requestPermissions(String[] arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                       | | ` final void`                                                                                                  | ` requestShowKeyboardShortcuts() `                                                                                                                                                                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                     | ` requestVisibleBehind(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                                | | ` final boolean`                                                                                               | ` requestWindowFeature(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                    | | ` final <T extends `[View](https://developer.android.com/reference/android/view/View.html)`> T`                | ` requireViewById(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` final void`                                                                                                  | ` runOnUiThread(Runnable arg0) `                                                                                                                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                                        | ` setActionBar(`[Toolbar](https://developer.android.com/reference/android/widget/Toolbar.html)` arg0) `                                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                                        | ` setContentTransitionManager(`[TransitionManager](https://developer.android.com/reference/android/transition/TransitionManager.html)` arg0) `                                                                                                                                                                                                                                                                                        | | ` void`                                                                                                        | ` setContentView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1) `                                                                                                                                                                                                                  | | ` void`                                                                                                        | ` setContentView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                        | ` setContentView(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                          | | ` final void`                                                                                                  | ` setDefaultKeyMode(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` setEnterSharedElementCallback(`[SharedElementCallback](https://developer.android.com/reference/android/app/SharedElementCallback.html)` arg0) `                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                        | ` setExitSharedElementCallback(`[SharedElementCallback](https://developer.android.com/reference/android/app/SharedElementCallback.html)` arg0) `                                                                                                                                                                                                                                                                                      | | ` final void`                                                                                                  | ` setFeatureDrawable(int arg0, `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg1) `                                                                                                                                                                                                                                                                                                  | | ` final void`                                                                                                  | ` setFeatureDrawableAlpha(int arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                       | | ` final void`                                                                                                  | ` setFeatureDrawableResource(int arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                    | | ` final void`                                                                                                  | ` setFeatureDrawableUri(int arg0, `[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg1) `                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` setFinishOnTouchOutside(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                             | | ` void`                                                                                                        | ` setImmersive(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                                        | | ` void`                                                                                                        | ` setIntent(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                   | | ` final void`                                                                                                  | ` setMediaController(`[MediaController](https://developer.android.com/reference/android/media/session/MediaController.html)` arg0) `                                                                                                                                                                                                                                                                                                  | | ` void`                                                                                                        | ` setPictureInPictureParams(`[PictureInPictureParams](https://developer.android.com/reference/android/app/PictureInPictureParams.html)` arg0) `                                                                                                                                                                                                                                                                                       | | ` final void`                                                                                                  | ` setProgress(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                             | | ` final void`                                                                                                  | ` setProgressBarIndeterminate(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                         | | ` final void`                                                                                                  | ` setProgressBarIndeterminateVisibility(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                               | | ` final void`                                                                                                  | ` setProgressBarVisibility(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                        | ` setRequestedOrientation(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                 | | ` final void`                                                                                                  | ` setResult(int arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1) `                                                                                                                                                                                                                                                                                                                         | | ` final void`                                                                                                  | ` setResult(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                               | | ` final void`                                                                                                  | ` setSecondaryProgress(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                    | | ` void`                                                                                                        | ` setShowWhenLocked(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                                   | | ` void`                                                                                                        | ` setTaskDescription(`[ActivityManager.TaskDescription](https://developer.android.com/reference/android/app/ActivityManager.TaskDescription.html)` arg0) `                                                                                                                                                                                                                                                                            | | ` void`                                                                                                        | ` setTheme(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                | | ` void`                                                                                                        | ` setTitle(CharSequence arg0) `                                                                                                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` setTitle(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                | | ` void`                                                                                                        | ` setTitleColor(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                           | | ` void`                                                                                                        | ` setTurnScreenOn(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                        | ` setVisible(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                                          | | ` final void`                                                                                                  | ` setVolumeControlStream(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                  | | ` void`                                                                                                        | ` setVrModeEnabled(boolean arg0, `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)` arg1) `                                                                                                                                                                                                                                                                                                | | ` boolean`                                                                                                     | ` shouldShowRequestPermissionRationale(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                 | | ` boolean`                                                                                                     | ` shouldUpRecreateTask(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                        | | ` boolean`                                                                                                     | ` showAssist(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                                                                                                                       | | ` final boolean`                                                                                               | ` showDialog(int arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                                                                                                             | | ` final void`                                                                                                  | ` showDialog(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                              | | ` void`                                                                                                        | ` showLockTaskEscapeMessage() `                                                                                                                                                                                                                                                                                                                                                                                                       | | ` `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)                          | ` startActionMode(`[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                            | | ` `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)                          | ` startActionMode(`[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg0) `                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                                        | ` startActivities(`[Intent[]](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                          | | ` void`                                                                                                        | ` startActivities(`[Intent[]](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                           | | ` void`                                                                                                        | ` startActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                                        | ` startActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                              | | ` void`                                                                                                        | ` startActivityForResult(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                        | ` startActivityForResult(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, int arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                                                                                                                                                                                           | | ` void`                                                                                                        | ` startActivityFromChild(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2) `                                                                                                                                                                                                                      | | ` void`                                                                                                        | ` startActivityFromChild(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg3) `                                                                                                                                     | | ` void`                                                                                                        | ` startActivityFromFragment(`[Fragment](https://developer.android.com/reference/android/app/Fragment.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg3) `                                                                                                                                  | | ` void`                                                                                                        | ` startActivityFromFragment(`[Fragment](https://developer.android.com/reference/android/app/Fragment.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2) `                                                                                                                                                                                                                   | | ` boolean`                                                                                                     | ` startActivityIfNeeded(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, int arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                                                                                                                                                                                            | | ` boolean`                                                                                                     | ` startActivityIfNeeded(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                             | | ` void`                                                                                                        | ` startIntentSender(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2, int arg3, int arg4) `                                                                                                                                                                                           | | ` void`                                                                                                        | ` startIntentSender(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2, int arg3, int arg4, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg5) `                                                                                                          | | ` void`                                                                                                        | ` startIntentSenderForResult(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, int arg1, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg2, int arg3, int arg4, int arg5) `                                                                                                                                                                        | | ` void`                                                                                                        | ` startIntentSenderForResult(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, int arg1, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg2, int arg3, int arg4, int arg5, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg6) `                                                                                       | | ` void`                                                                                                        | ` startIntentSenderFromChild(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` arg0, `[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg1, int arg2, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg3, int arg4, int arg5, int arg6, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg7) ` | | ` void`                                                                                                        | ` startIntentSenderFromChild(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` arg0, `[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg1, int arg2, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg3, int arg4, int arg5, int arg6) `                                                                                  | | ` void`                                                                                                        | ` startLocalVoiceInteraction(`[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg0) `                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` startLockTask() `                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` void`                                                                                                        | ` startManagingCursor(`[Cursor](https://developer.android.com/reference/android/database/Cursor.html)` arg0) `                                                                                                                                                                                                                                                                                                                        | | ` boolean`                                                                                                     | ` startNextMatchingActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                     | ` startNextMatchingActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                   | | ` void`                                                                                                        | ` startPostponedEnterTransition() `                                                                                                                                                                                                                                                                                                                                                                                                   | | ` void`                                                                                                        | ` startSearch(String arg0, boolean arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2, boolean arg3) `                                                                                                                                                                                                                                                                                             | | ` void`                                                                                                        | ` stopLocalVoiceInteraction() `                                                                                                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` stopLockTask() `                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` void`                                                                                                        | ` stopManagingCursor(`[Cursor](https://developer.android.com/reference/android/database/Cursor.html)` arg0) `                                                                                                                                                                                                                                                                                                                         | | ` void`                                                                                                        | ` takeKeyEvents(boolean arg0) `                                                                                                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` triggerSearch(String arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                        | ` unregisterForContextMenu(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                                                                                                                                                           | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From class` `[android.view.ContextThemeWrapper](https://developer.android.com/reference/android/view/ContextThemeWrapper.html)` ` |--------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                                                | ` applyOverrideConfiguration(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                       | | ` void`                                                                                                | ` attachBaseContext(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0) `                                                | | ` `[AssetManager](https://developer.android.com/reference/android/content/res/AssetManager.html)       | ` getAssets() `                                                                                                                                              | | ` `[Resources](https://developer.android.com/reference/android/content/res/Resources.html)             | ` getResources() `                                                                                                                                           | | ` Object`                                                                                              | ` getSystemService(String arg0) `                                                                                                                            | | ` `[Resources.Theme](https://developer.android.com/reference/android/content/res/Resources.Theme.html) | ` getTheme() `                                                                                                                                               | | ` void`                                                                                                | ` onApplyThemeResource(`[Resources.Theme](https://developer.android.com/reference/android/content/res/Resources.Theme.html)` arg0, int arg1, boolean arg2) ` | | ` void`                                                                                                | ` setTheme(int arg0) `                                                                                                                                       | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From class` `[android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html)` ` |----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                                                  | ` attachBaseContext(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` boolean`                                                                                               | ` bindService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[ServiceConnection](https://developer.android.com/reference/android/content/ServiceConnection.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                       | | ` int`                                                                                                   | ` checkCallingOrSelfPermission(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` int`                                                                                                   | ` checkCallingOrSelfUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` int`                                                                                                   | ` checkCallingPermission(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` int`                                                                                                   | ` checkCallingUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                               | | ` int`                                                                                                   | ` checkPermission(String arg0, int arg1, int arg2) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` int`                                                                                                   | ` checkSelfPermission(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` int`                                                                                                   | ` checkUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, String arg1, String arg2, int arg3, int arg4, int arg5) `                                                                                                                                                                                                                                                                                                                                                                        | | ` int`                                                                                                   | ` checkUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                                                                                                                                                                                                                  | | ` void`                                                                                                  | ` clearWallpaper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createConfigurationContext(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                            | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createContextForSplit(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createDeviceProtectedStorageContext() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createDisplayContext(`[Display](https://developer.android.com/reference/android/view/Display.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createPackageContext(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` String[]`                                                                                              | ` databaseList() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` boolean`                                                                                               | ` deleteDatabase(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` boolean`                                                                                               | ` deleteFile(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` boolean`                                                                                               | ` deleteSharedPreferences(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` void`                                                                                                  | ` enforceCallingOrSelfPermission(String arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                                  | ` enforceCallingOrSelfUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, String arg2) `                                                                                                                                                                                                                                                                                                                                                                                          | | ` void`                                                                                                  | ` enforceCallingPermission(String arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                  | ` enforceCallingUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, String arg2) `                                                                                                                                                                                                                                                                                                                                                                                                | | ` void`                                                                                                  | ` enforcePermission(String arg0, int arg1, int arg2, String arg3) `                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                                  | ` enforceUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, String arg1, String arg2, int arg3, int arg4, int arg5, String arg6) `                                                                                                                                                                                                                                                                                                                                                         | | ` void`                                                                                                  | ` enforceUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, int arg2, int arg3, String arg4) `                                                                                                                                                                                                                                                                                                                                                                                   | | ` String[]`                                                                                              | ` fileList() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` getApplicationContext() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` `[ApplicationInfo](https://developer.android.com/reference/android/content/pm/ApplicationInfo.html)    | ` getApplicationInfo() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` `[AssetManager](https://developer.android.com/reference/android/content/res/AssetManager.html)         | ` getAssets() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` getBaseContext() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` File`                                                                                                  | ` getCacheDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` ClassLoader`                                                                                           | ` getClassLoader() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` File`                                                                                                  | ` getCodeCacheDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` `[ContentResolver](https://developer.android.com/reference/android/content/ContentResolver.html)       | ` getContentResolver() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` File`                                                                                                  | ` getDataDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` File`                                                                                                  | ` getDatabasePath(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` File`                                                                                                  | ` getDir(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` File`                                                                                                  | ` getExternalCacheDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` File[]`                                                                                                | ` getExternalCacheDirs() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` File`                                                                                                  | ` getExternalFilesDir(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` File[]`                                                                                                | ` getExternalFilesDirs(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` File[]`                                                                                                | ` getExternalMediaDirs() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` File`                                                                                                  | ` getFileStreamPath(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` File`                                                                                                  | ` getFilesDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` Executor`                                                                                              | ` getMainExecutor() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` `[Looper](https://developer.android.com/reference/android/os/Looper.html)                              | ` getMainLooper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` File`                                                                                                  | ` getNoBackupFilesDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` File`                                                                                                  | ` getObbDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` File[]`                                                                                                | ` getObbDirs() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` String`                                                                                                | ` getPackageCodePath() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` `[PackageManager](https://developer.android.com/reference/android/content/pm/PackageManager.html)      | ` getPackageManager() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` String`                                                                                                | ` getPackageName() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` String`                                                                                                | ` getPackageResourcePath() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | ` `[Resources](https://developer.android.com/reference/android/content/res/Resources.html)               | ` getResources() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` `[SharedPreferences](https://developer.android.com/reference/android/content/SharedPreferences.html)   | ` getSharedPreferences(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` Object`                                                                                                | ` getSystemService(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` String`                                                                                                | ` getSystemServiceName(Class<?> arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` `[Resources.Theme](https://developer.android.com/reference/android/content/res/Resources.Theme.html)   | ` getTheme() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)           | ` getWallpaper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` int`                                                                                                   | ` getWallpaperDesiredMinimumHeight() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` int`                                                                                                   | ` getWallpaperDesiredMinimumWidth() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` void`                                                                                                  | ` grantUriPermission(String arg0, `[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` boolean`                                                                                               | ` isDeviceProtectedStorage() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` boolean`                                                                                               | ` isRestricted() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` boolean`                                                                                               | ` moveDatabaseFrom(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` boolean`                                                                                               | ` moveSharedPreferencesFrom(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                | | ` FileInputStream`                                                                                       | ` openFileInput(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` FileOutputStream`                                                                                      | ` openFileOutput(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` `[SQLiteDatabase](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html) | ` openOrCreateDatabase(String arg0, int arg1, `[SQLiteDatabase.CursorFactory](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html)` arg2, `[DatabaseErrorHandler](https://developer.android.com/reference/android/database/DatabaseErrorHandler.html)` arg3) `                                                                                                                                                                                                                      | | ` `[SQLiteDatabase](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html) | ` openOrCreateDatabase(String arg0, int arg1, `[SQLiteDatabase.CursorFactory](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html)` arg2) `                                                                                                                                                                                                                                                                                                                                         | | ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)           | ` peekWallpaper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1) `                                                                                                                                                                                                                                                                                                | | ` `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                      | | ` `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1, String arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3, int arg4) `                                                                                                                                                                                      | | ` `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1, String arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3) `                                                                                                                                                                                                | | ` void`                                                                                                  | ` removeStickyBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` void`                                                                                                  | ` removeStickyBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1) `                                                                                                                                                                                                                                                                                                                    | | ` void`                                                                                                  | ` revokeUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                  | ` revokeUriPermission(String arg0, `[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                                                                                                                        | | ` void`                                                                                                  | ` sendBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                              | | ` void`                                                                                                  | ` sendBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` void`                                                                                                  | ` sendBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1) `                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                  | ` sendBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1, String arg2) `                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                                  | ` sendOrderedBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, String arg1, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3, int arg4, String arg5, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg6) `                                                                                                | | ` void`                                                                                                  | ` sendOrderedBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                  | ` sendOrderedBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1, String arg2, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg3, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg4, int arg5, String arg6, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg7) ` | | ` void`                                                                                                  | ` sendStickyBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                  | ` sendStickyBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1) `                                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                                  | ` sendStickyOrderedBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg1, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg2, int arg3, String arg4, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg5) `                                                                                                       | | ` void`                                                                                                  | ` sendStickyOrderedBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3, int arg4, String arg5, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg6) `        | | ` void`                                                                                                  | ` setTheme(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` void`                                                                                                  | ` setWallpaper(`[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` void`                                                                                                  | ` setWallpaper(InputStream arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` void`                                                                                                  | ` startActivities(`[Intent[]](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                                  | ` startActivities(`[Intent[]](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                  | ` startActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` void`                                                                                                  | ` startActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                                                                                                                          | | ` `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)           | ` startForegroundService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` boolean`                                                                                               | ` startInstrumentation(`[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)` arg0, String arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                                                                                                                                                                                                                                                                        | | ` void`                                                                                                  | ` startIntentSender(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2, int arg3, int arg4) `                                                                                                                                                                                                                                                                                       | | ` void`                                                                                                  | ` startIntentSender(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2, int arg3, int arg4, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg5) `                                                                                                                                                                                                      | | ` `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)           | ` startService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` boolean`                                                                                               | ` stopService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` void`                                                                                                  | ` unbindService(`[ServiceConnection](https://developer.android.com/reference/android/content/ServiceConnection.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                  | ` unregisterReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From class` `[android.content.Context](https://developer.android.com/reference/android/content/Context.html)` ` |-------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract boolean`                                                                                               | ` bindService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[ServiceConnection](https://developer.android.com/reference/android/content/ServiceConnection.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                       | | ` abstract int`                                                                                                   | ` checkCallingOrSelfPermission(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` abstract int`                                                                                                   | ` checkCallingOrSelfUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract int`                                                                                                   | ` checkCallingPermission(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` abstract int`                                                                                                   | ` checkCallingUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                               | | ` abstract int`                                                                                                   | ` checkPermission(String arg0, int arg1, int arg2) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract int`                                                                                                   | ` checkSelfPermission(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract int`                                                                                                   | ` checkUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, String arg1, String arg2, int arg3, int arg4, int arg5) `                                                                                                                                                                                                                                                                                                                                                                        | | ` abstract int`                                                                                                   | ` checkUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                                                                                                                                                                                                                  | | ` abstract void`                                                                                                  | ` clearWallpaper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createConfigurationContext(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createContextForSplit(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createDeviceProtectedStorageContext() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createDisplayContext(`[Display](https://developer.android.com/reference/android/view/Display.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` abstract `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` createPackageContext(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract String[]`                                                                                              | ` databaseList() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract boolean`                                                                                               | ` deleteDatabase(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract boolean`                                                                                               | ` deleteFile(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` abstract boolean`                                                                                               | ` deleteSharedPreferences(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` abstract void`                                                                                                  | ` enforceCallingOrSelfPermission(String arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | ` abstract void`                                                                                                  | ` enforceCallingOrSelfUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, String arg2) `                                                                                                                                                                                                                                                                                                                                                                                          | | ` abstract void`                                                                                                  | ` enforceCallingPermission(String arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract void`                                                                                                  | ` enforceCallingUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, String arg2) `                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract void`                                                                                                  | ` enforcePermission(String arg0, int arg1, int arg2, String arg3) `                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` abstract void`                                                                                                  | ` enforceUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, String arg1, String arg2, int arg3, int arg4, int arg5, String arg6) `                                                                                                                                                                                                                                                                                                                                                         | | ` abstract void`                                                                                                  | ` enforceUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1, int arg2, int arg3, String arg4) `                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract String[]`                                                                                              | ` fileList() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` abstract `[Context](https://developer.android.com/reference/android/content/Context.html)                       | ` getApplicationContext() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` abstract `[ApplicationInfo](https://developer.android.com/reference/android/content/pm/ApplicationInfo.html)    | ` getApplicationInfo() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` abstract `[AssetManager](https://developer.android.com/reference/android/content/res/AssetManager.html)         | ` getAssets() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract File`                                                                                                  | ` getCacheDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` abstract ClassLoader`                                                                                           | ` getClassLoader() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract File`                                                                                                  | ` getCodeCacheDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` final int`                                                                                                      | ` getColor(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` final `[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)        | ` getColorStateList(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract `[ContentResolver](https://developer.android.com/reference/android/content/ContentResolver.html)       | ` getContentResolver() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` abstract File`                                                                                                  | ` getDataDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` abstract File`                                                                                                  | ` getDatabasePath(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` abstract File`                                                                                                  | ` getDir(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` final `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)              | ` getDrawable(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract File`                                                                                                  | ` getExternalCacheDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract File[]`                                                                                                | ` getExternalCacheDirs() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` abstract File`                                                                                                  | ` getExternalFilesDir(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract File[]`                                                                                                | ` getExternalFilesDirs(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` abstract File[]`                                                                                                | ` getExternalMediaDirs() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` abstract File`                                                                                                  | ` getFileStreamPath(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract File`                                                                                                  | ` getFilesDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` Executor`                                                                                                       | ` getMainExecutor() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` abstract `[Looper](https://developer.android.com/reference/android/os/Looper.html)                              | ` getMainLooper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` abstract File`                                                                                                  | ` getNoBackupFilesDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract File`                                                                                                  | ` getObbDir() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract File[]`                                                                                                | ` getObbDirs() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` abstract String`                                                                                                | ` getPackageCodePath() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` abstract `[PackageManager](https://developer.android.com/reference/android/content/pm/PackageManager.html)      | ` getPackageManager() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` abstract String`                                                                                                | ` getPackageName() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract String`                                                                                                | ` getPackageResourcePath() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | ` abstract `[Resources](https://developer.android.com/reference/android/content/res/Resources.html)               | ` getResources() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract `[SharedPreferences](https://developer.android.com/reference/android/content/SharedPreferences.html)   | ` getSharedPreferences(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` final String`                                                                                                   | ` getString(int arg0, Object... arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` final String`                                                                                                   | ` getString(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` final <T> T`                                                                                                    | ` getSystemService(Class<T> arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` abstract Object`                                                                                                | ` getSystemService(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` abstract String`                                                                                                | ` getSystemServiceName(Class<?> arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` final CharSequence`                                                                                             | ` getText(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` abstract `[Resources.Theme](https://developer.android.com/reference/android/content/res/Resources.Theme.html)   | ` getTheme() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` abstract `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)           | ` getWallpaper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract int`                                                                                                   | ` getWallpaperDesiredMinimumHeight() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract int`                                                                                                   | ` getWallpaperDesiredMinimumWidth() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` abstract void`                                                                                                  | ` grantUriPermission(String arg0, `[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract boolean`                                                                                               | ` isDeviceProtectedStorage() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                        | ` isRestricted() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract boolean`                                                                                               | ` moveDatabaseFrom(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract boolean`                                                                                               | ` moveSharedPreferencesFrom(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                | | ` final `[TypedArray](https://developer.android.com/reference/android/content/res/TypedArray.html)                | ` obtainStyledAttributes(`[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg0, int[] arg1) `                                                                                                                                                                                                                                                                                                                                                                                             | | ` final `[TypedArray](https://developer.android.com/reference/android/content/res/TypedArray.html)                | ` obtainStyledAttributes(`[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg0, int[] arg1, int arg2, int arg3) `                                                                                                                                                                                                                                                                                                                                                                         | | ` final `[TypedArray](https://developer.android.com/reference/android/content/res/TypedArray.html)                | ` obtainStyledAttributes(int arg0, int[] arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` final `[TypedArray](https://developer.android.com/reference/android/content/res/TypedArray.html)                | ` obtainStyledAttributes(int[] arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract FileInputStream`                                                                                       | ` openFileInput(String arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` abstract FileOutputStream`                                                                                      | ` openFileOutput(String arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` abstract `[SQLiteDatabase](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html) | ` openOrCreateDatabase(String arg0, int arg1, `[SQLiteDatabase.CursorFactory](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html)` arg2, `[DatabaseErrorHandler](https://developer.android.com/reference/android/database/DatabaseErrorHandler.html)` arg3) `                                                                                                                                                                                                                      | | ` abstract `[SQLiteDatabase](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html) | ` openOrCreateDatabase(String arg0, int arg1, `[SQLiteDatabase.CursorFactory](https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html)` arg2) `                                                                                                                                                                                                                                                                                                                                         | | ` abstract `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)           | ` peekWallpaper() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` void`                                                                                                           | ` registerComponentCallbacks(`[ComponentCallbacks](https://developer.android.com/reference/android/content/ComponentCallbacks.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                      | | ` abstract `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1) `                                                                                                                                                                                                                                                                                                | | ` abstract `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                      | | ` abstract `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1, String arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3, int arg4) `                                                                                                                                                                                      | | ` abstract `[Intent](https://developer.android.com/reference/android/content/Intent.html)                         | ` registerReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0, `[IntentFilter](https://developer.android.com/reference/android/content/IntentFilter.html)` arg1, String arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3) `                                                                                                                                                                                                | | ` abstract void`                                                                                                  | ` removeStickyBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` abstract void`                                                                                                  | ` removeStickyBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1) `                                                                                                                                                                                                                                                                                                                    | | ` abstract void`                                                                                                  | ` revokeUriPermission(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg0, int arg1) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` abstract void`                                                                                                  | ` revokeUriPermission(String arg0, `[Uri](https://developer.android.com/reference/android/net/Uri.html)` arg1, int arg2) `                                                                                                                                                                                                                                                                                                                                                                                                        | | ` abstract void`                                                                                                  | ` sendBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                              | | ` abstract void`                                                                                                  | ` sendBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` abstract void`                                                                                                  | ` sendBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1) `                                                                                                                                                                                                                                                                                                                            | | ` abstract void`                                                                                                  | ` sendBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1, String arg2) `                                                                                                                                                                                                                                                                                                               | | ` abstract void`                                                                                                  | ` sendOrderedBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, String arg1, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3, int arg4, String arg5, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg6) `                                                                                                | | ` abstract void`                                                                                                  | ` sendOrderedBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, String arg1) `                                                                                                                                                                                                                                                                                                                                                                                                       | | ` abstract void`                                                                                                  | ` sendOrderedBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1, String arg2, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg3, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg4, int arg5, String arg6, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg7) ` | | ` abstract void`                                                                                                  | ` sendStickyBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` abstract void`                                                                                                  | ` sendStickyBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1) `                                                                                                                                                                                                                                                                                                                      | | ` abstract void`                                                                                                  | ` sendStickyOrderedBroadcast(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg1, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg2, int arg3, String arg4, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg5) `                                                                                                       | | ` abstract void`                                                                                                  | ` sendStickyOrderedBroadcastAsUser(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[UserHandle](https://developer.android.com/reference/android/os/UserHandle.html)` arg1, `[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg2, `[Handler](https://developer.android.com/reference/android/os/Handler.html)` arg3, int arg4, String arg5, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg6) `        | | ` abstract void`                                                                                                  | ` setTheme(int arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract void`                                                                                                  | ` setWallpaper(`[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` abstract void`                                                                                                  | ` setWallpaper(InputStream arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract void`                                                                                                  | ` startActivities(`[Intent[]](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                                                                                                                      | | ` abstract void`                                                                                                  | ` startActivities(`[Intent[]](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` abstract void`                                                                                                  | ` startActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` abstract void`                                                                                                  | ` startActivity(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                                                                                                                                                                                                                          | | ` abstract `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)           | ` startForegroundService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` abstract boolean`                                                                                               | ` startInstrumentation(`[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)` arg0, String arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                                                                                                                                                                                                                                                                        | | ` abstract void`                                                                                                  | ` startIntentSender(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2, int arg3, int arg4) `                                                                                                                                                                                                                                                                                       | | ` abstract void`                                                                                                  | ` startIntentSender(`[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)` arg0, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg1, int arg2, int arg3, int arg4, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg5) `                                                                                                                                                                                                      | | ` abstract `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)           | ` startService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` abstract boolean`                                                                                               | ` stopService(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` abstract void`                                                                                                  | ` unbindService(`[ServiceConnection](https://developer.android.com/reference/android/content/ServiceConnection.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                     | | ` void`                                                                                                           | ` unregisterComponentCallbacks(`[ComponentCallbacks](https://developer.android.com/reference/android/content/ComponentCallbacks.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                    | | ` abstract void`                                                                                                  | ` unregisterReceiver(`[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html)` arg0) `                                                                                                                                                                                                                                                                                                                                                                                                | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From interface` android.arch.lifecycle.LifecycleOwner ` |-----------------------|--------------------| | ` abstract Lifecycle` | ` getLifecycle() ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From interface` `[android.view.LayoutInflater.Factory2](https://developer.android.com/reference/android/view/LayoutInflater.Factory2.html)` ` |------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract `[View](https://developer.android.com/reference/android/view/View.html) | ` onCreateView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, String arg1, `[Context](https://developer.android.com/reference/android/content/Context.html)` arg2, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg3) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From interface` `[android.view.Window.Callback](https://developer.android.com/reference/android/view/Window.Callback.html)` ` |------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract boolean`                                                                            | ` dispatchGenericMotionEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                    | | ` abstract boolean`                                                                            | ` dispatchKeyEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                    | | ` abstract boolean`                                                                            | ` dispatchKeyShortcutEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                            | | ` abstract boolean`                                                                            | ` dispatchPopulateAccessibilityEvent(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) `                                                                                | | ` abstract boolean`                                                                            | ` dispatchTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                            | | ` abstract boolean`                                                                            | ` dispatchTrackballEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                        | | ` abstract void`                                                                               | ` onActionModeFinished(`[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)` arg0) `                                                                                                                            | | ` abstract void`                                                                               | ` onActionModeStarted(`[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)` arg0) `                                                                                                                             | | ` abstract void`                                                                               | ` onAttachedToWindow() `                                                                                                                                                                                                                       | | ` abstract void`                                                                               | ` onContentChanged() `                                                                                                                                                                                                                         | | ` abstract boolean`                                                                            | ` onCreatePanelMenu(int arg0, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg1) `                                                                                                                                 | | ` abstract `[View](https://developer.android.com/reference/android/view/View.html)             | ` onCreatePanelView(int arg0) `                                                                                                                                                                                                                | | ` abstract void`                                                                               | ` onDetachedFromWindow() `                                                                                                                                                                                                                     | | ` abstract boolean`                                                                            | ` onMenuItemSelected(int arg0, `[MenuItem](https://developer.android.com/reference/android/view/MenuItem.html)` arg1) `                                                                                                                        | | ` abstract boolean`                                                                            | ` onMenuOpened(int arg0, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg1) `                                                                                                                                      | | ` abstract void`                                                                               | ` onPanelClosed(int arg0, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg1) `                                                                                                                                     | | ` default void`                                                                                | ` onPointerCaptureChanged(boolean arg0) `                                                                                                                                                                                                      | | ` abstract boolean`                                                                            | ` onPreparePanel(int arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg2) `                                                     | | ` default void`                                                                                | ` onProvideKeyboardShortcuts(List<`[KeyboardShortcutGroup](https://developer.android.com/reference/android/view/KeyboardShortcutGroup.html)`> arg0, `[Menu](https://developer.android.com/reference/android/view/Menu.html)` arg1, int arg2) ` | | ` abstract boolean`                                                                            | ` onSearchRequested() `                                                                                                                                                                                                                        | | ` abstract boolean`                                                                            | ` onSearchRequested(`[SearchEvent](https://developer.android.com/reference/android/view/SearchEvent.html)` arg0) `                                                                                                                             | | ` abstract void`                                                                               | ` onWindowAttributesChanged(`[WindowManager.LayoutParams](https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html)` arg0) `                                                                                       | | ` abstract void`                                                                               | ` onWindowFocusChanged(boolean arg0) `                                                                                                                                                                                                         | | ` abstract `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html) | ` onWindowStartingActionMode(`[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg0) `                                                                                                    | | ` abstract `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html) | ` onWindowStartingActionMode(`[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg0, int arg1) `                                                                                          | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From interface` `[android.view.KeyEvent.Callback](https://developer.android.com/reference/android/view/KeyEvent.Callback.html)` ` |---------------------|------------------------------------------------------------------------------------------------------------------------------| | ` abstract boolean` | ` onKeyDown(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `               | | ` abstract boolean` | ` onKeyLongPress(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `          | | ` abstract boolean` | ` onKeyMultiple(int arg0, int arg1, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg2) ` | | ` abstract boolean` | ` onKeyUp(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                 | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From interface` `[android.view.View.OnCreateContextMenuListener](https://developer.android.com/reference/android/view/View.OnCreateContextMenuListener.html)` ` |------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` onCreateContextMenu(`[ContextMenu](https://developer.android.com/reference/android/view/ContextMenu.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, `[ContextMenu.ContextMenuInfo](https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html)` arg2) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From interface` `[android.content.ComponentCallbacks2](https://developer.android.com/reference/android/content/ComponentCallbacks2.html)` ` |------------------|----------------------------| | ` abstract void` | ` onTrimMemory(int arg0) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From interface` android.arch.lifecycle.ViewModelStoreOwner ` |----------------------------|-------------------------| | ` abstract ViewModelStore` | ` getViewModelStore() ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From interface` `[android.support.v4.app.ActivityCompat.OnRequestPermissionsResultCallback](https://developer.android.com/reference/android/support/v4/app/ActivityCompat.OnRequestPermissionsResultCallback)` ` |------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` `[onRequestPermissionsResult](https://developer.android.com/reference/android/support/v4/app/ActivityCompat.OnRequestPermissionsResultCallback#onRequestPermissionsResult(int, java.lang.String[], int[]))`(int requestCode, String[] permissions, int[] grantResults) ` Callback for the result from requesting permissions. | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From interface` `[android.view.LayoutInflater.Factory](https://developer.android.com/reference/android/view/LayoutInflater.Factory.html)` ` |------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract `[View](https://developer.android.com/reference/android/view/View.html) | ` onCreateView(String arg0, `[Context](https://developer.android.com/reference/android/content/Context.html)` arg1, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg2) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#)From interface` `[android.content.ComponentCallbacks](https://developer.android.com/reference/android/content/ComponentCallbacks.html)` ` |------------------|------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` onConfigurationChanged(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) ` | | ` abstract void` | ` onLowMemory() `                                                                                                                  | ||

## Public constructors

### FragmentActivity

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
FragmentActivity ()
```

<br />

<br />

## Public methods

### dump

```
void dump (String prefix, 
                FileDescriptor fd, 
                PrintWriter writer, 
                String[] args)
```

Print the Activity's state into the given stream. This gets invoked if you run "adb shell dumpsys activity".

<br />

|                                                             Parameters                                                             ||
|----------|--------------------------------------------------------------------------------------------------------------------------|
| `prefix` | `String`: Desired prefix to prepend at each line of output. <br />                                                       |
| `fd`     | `FileDescriptor`: The raw file descriptor that the dump is being sent to. <br />                                         |
| `writer` | `PrintWriter`: The PrintWriter to which you should dump your state. This will be closed for you after you return. <br /> |
| `args`   | `String`: additional arguments to the dump request. <br />                                                               |

### getLastCustomNonConfigurationInstance

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
Object getLastCustomNonConfigurationInstance ()
```

Return the value previously returned from[onRetainCustomNonConfigurationInstance()](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onRetainCustomNonConfigurationInstance()).

<br />

|     Returns      ||
|----------|--------|
| `Object` | <br /> |

### getLifecycle

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
Lifecycle getLifecycle ()
```

Returns the Lifecycle of the provider.

<br />

|                      Returns                       ||
|-------------|---------------------------------------|
| `Lifecycle` | The lifecycle of the provider. <br /> |

### getSupportFragmentManager

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
FragmentManager getSupportFragmentManager ()
```

Return the FragmentManager for interacting with fragments associated with this activity.

<br />

|                                                  Returns                                                  ||
|---------------------------------------------------------------------------------------------------|--------|
| [FragmentManager](https://developer.android.com/reference/android/support/v4/app/FragmentManager) | <br /> |

### getSupportLoaderManager

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
LoaderManager getSupportLoaderManager ()
```

<br />

<br />

|                                                Returns                                                ||
|-----------------------------------------------------------------------------------------------|--------|
| [LoaderManager](https://developer.android.com/reference/android/support/v4/app/LoaderManager) | <br /> |

### getViewModelStore

added in[version 27.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
ViewModelStore getViewModelStore ()
```

Returns the[ViewModelStore](https://developer.android.com/reference/android/arch/lifecycle/ViewModelStore)associated with this activity

<br />

|                  Returns                   ||
|------------------|--------------------------|
| `ViewModelStore` | a`ViewModelStore` <br /> |

### onAttachFragment

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onAttachFragment (Fragment fragment)
```

Called when a fragment is attached to the activity.

This is called after the attached fragment's`onAttach`and before the attached fragment's`onCreate`if the fragment has not yet had a previous call to`onCreate`.

<br />

<br />

|          Parameters           ||
|------------|-------------------|
| `fragment` | `Fragment` <br /> |

### onBackPressed

```
void onBackPressed ()
```

Take care of popping the fragment back stack or finishing the activity as appropriate.

<br />

### onConfigurationChanged

```
void onConfigurationChanged (Configuration newConfig)
```

Dispatch configuration change to all fragments.

<br />

|             Parameters              ||
|-------------|------------------------|
| `newConfig` | `Configuration` <br /> |

### onCreatePanelMenu

```
boolean onCreatePanelMenu (int featureId, 
                Menu menu)
```

Dispatch to Fragment.onCreateOptionsMenu().

<br />

|         Parameters         ||
|-------------|---------------|
| `featureId` | `int` <br />  |
| `menu`      | `Menu` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### onCreateView

```
View onCreateView (View parent, 
                String name, 
                Context context, 
                AttributeSet attrs)
```

<br />

<br />

|            Parameters            ||
|-----------|-----------------------|
| `parent`  | `View` <br />         |
| `name`    | `String` <br />       |
| `context` | `Context` <br />      |
| `attrs`   | `AttributeSet` <br /> |

|                                    Returns                                     ||
|------------------------------------------------------------------------|--------|
| [View](https://developer.android.com/reference/android/view/View.html) | <br /> |

### onCreateView

```
View onCreateView (String name, 
                Context context, 
                AttributeSet attrs)
```

<br />

<br />

|            Parameters            ||
|-----------|-----------------------|
| `name`    | `String` <br />       |
| `context` | `Context` <br />      |
| `attrs`   | `AttributeSet` <br /> |

|                                    Returns                                     ||
|------------------------------------------------------------------------|--------|
| [View](https://developer.android.com/reference/android/view/View.html) | <br /> |

### onLowMemory

```
void onLowMemory ()
```

Dispatch onLowMemory() to all fragments.

<br />

### onMenuItemSelected

```
boolean onMenuItemSelected (int featureId, 
                MenuItem item)
```

Dispatch context and options menu to fragments.

<br />

|           Parameters           ||
|-------------|-------------------|
| `featureId` | `int` <br />      |
| `item`      | `MenuItem` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### onMultiWindowModeChanged

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onMultiWindowModeChanged (boolean isInMultiWindowMode)
```

<br />

**Note:** If you override this method you must call`super.onMultiWindowModeChanged`to correctly dispatch the event to support fragments attached to this activity.

<br />

<br />

|                                       Parameters                                       ||
|-----------------------|-----------------------------------------------------------------|
| `isInMultiWindowMode` | `boolean`: True if the activity is in multi-window mode. <br /> |

### onPanelClosed

```
void onPanelClosed (int featureId, 
                Menu menu)
```

Call onOptionsMenuClosed() on fragments.

<br />

|         Parameters         ||
|-------------|---------------|
| `featureId` | `int` <br />  |
| `menu`      | `Menu` <br /> |

### onPictureInPictureModeChanged

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onPictureInPictureModeChanged (boolean isInPictureInPictureMode)
```

<br />

**Note:** If you override this method you must call`super.onPictureInPictureModeChanged`to correctly dispatch the event to support fragments attached to this activity.

<br />

<br />

|                                            Parameters                                             ||
|----------------------------|-----------------------------------------------------------------------|
| `isInPictureInPictureMode` | `boolean`: True if the activity is in picture-in-picture mode. <br /> |

### onPreparePanel

```
boolean onPreparePanel (int featureId, 
                View view, 
                Menu menu)
```

Dispatch onPrepareOptionsMenu() to fragments.

<br />

|         Parameters         ||
|-------------|---------------|
| `featureId` | `int` <br />  |
| `view`      | `View` <br /> |
| `menu`      | `Menu` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### onRequestPermissionsResult

```
void onRequestPermissionsResult (int requestCode, 
                String[] permissions, 
                int[] grantResults)
```

Callback for the result from requesting permissions. This method is invoked for every call on[requestPermissions(String[], int)](https://developer.android.com/reference/android/app/Activity.html#requestPermissions(java.lang.String[], int)).

**Note:**It is possible that the permissions request interaction with the user is interrupted. In this case you will receive empty permissions and results arrays which should be treated as a cancellation.

<br />

<br />

|                                                                                                                                                                          Parameters                                                                                                                                                                          ||
|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `requestCode`  | `int`: The request code passed in[requestPermissions(String[], int)](https://developer.android.com/reference/android/app/Activity.html#requestPermissions(java.lang.String[], int)). <br />                                                                                                                                                  |
| `permissions`  | `String`: The requested permissions. Never null. <br />                                                                                                                                                                                                                                                                                      |
| `grantResults` | `int`: The grant results for the corresponding permissions which is either[PERMISSION_GRANTED](https://developer.android.com/reference/android/content/pm/PackageManager.html#PERMISSION_GRANTED)or[PERMISSION_DENIED](https://developer.android.com/reference/android/content/pm/PackageManager.html#PERMISSION_DENIED). Never null. <br /> |

**See also:**

- [requestPermissions(String[], int)](https://developer.android.com/reference/android/app/Activity.html#requestPermissions(java.lang.String[], int))  

### onRetainCustomNonConfigurationInstance

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
Object onRetainCustomNonConfigurationInstance ()
```

Use this instead of[onRetainNonConfigurationInstance()](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onRetainNonConfigurationInstance()). Retrieve later with[getLastCustomNonConfigurationInstance()](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#getLastCustomNonConfigurationInstance()).

<br />

|     Returns      ||
|----------|--------|
| `Object` | <br /> |

### onRetainNonConfigurationInstance

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
Object onRetainNonConfigurationInstance ()
```

Retain all appropriate fragment state. You can NOT override this yourself! Use[onRetainCustomNonConfigurationInstance()](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onRetainCustomNonConfigurationInstance())if you want to retain your own state.

<br />

|     Returns      ||
|----------|--------|
| `Object` | <br /> |

### onStateNotSaved

```
void onStateNotSaved ()
```

Hook in to note that fragment state is no longer saved.

<br />

### setEnterSharedElementCallback

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setEnterSharedElementCallback (SharedElementCallback callback)
```

When[makeSceneTransitionAnimation(Activity, android.view.View, String)](https://developer.android.com/reference/android/app/ActivityOptions.html#makeSceneTransitionAnimation(android.app.Activity, android.view.View, java.lang.String))was used to start an Activity,<var translate="no">callback</var>will be called to handle shared elements on the*launched* Activity. This requires[FEATURE_CONTENT_TRANSITIONS](https://developer.android.com/reference/android/view/Window.html#FEATURE_CONTENT_TRANSITIONS).

<br />

|                                                     Parameters                                                      ||
|------------|---------------------------------------------------------------------------------------------------------|
| `callback` | `SharedElementCallback`: Used to manipulate shared element transitions on the launched Activity. <br /> |

### setExitSharedElementCallback

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setExitSharedElementCallback (SharedElementCallback listener)
```

When[makeSceneTransitionAnimation(Activity, android.view.View, String)](https://developer.android.com/reference/android/app/ActivityOptions.html#makeSceneTransitionAnimation(android.app.Activity, android.view.View, java.lang.String))was used to start an Activity,<var translate="no">listener</var>will be called to handle shared elements on the*launching* Activity. Most calls will only come when returning from the started Activity. This requires[FEATURE_CONTENT_TRANSITIONS](https://developer.android.com/reference/android/view/Window.html#FEATURE_CONTENT_TRANSITIONS).

<br />

|                                                      Parameters                                                      ||
|------------|----------------------------------------------------------------------------------------------------------|
| `listener` | `SharedElementCallback`: Used to manipulate shared element transitions on the launching Activity. <br /> |

### startActivityForResult

```
void startActivityForResult (Intent intent, 
                int requestCode, 
                Bundle options)
```

<br />

<br />

|           Parameters           ||
|---------------|-----------------|
| `intent`      | `Intent` <br /> |
| `requestCode` | `int` <br />    |
| `options`     | `Bundle` <br /> |

### startActivityForResult

```
void startActivityForResult (Intent intent, 
                int requestCode)
```

Modifies the standard behavior to allow results to be delivered to fragments. This imposes a restriction that requestCode be \<= 0xffff.

<br />

|           Parameters           ||
|---------------|-----------------|
| `intent`      | `Intent` <br /> |
| `requestCode` | `int` <br />    |

### startActivityFromFragment

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void startActivityFromFragment (Fragment fragment, 
                Intent intent, 
                int requestCode)
```

Called by Fragment.startActivityForResult() to implement its behavior.

<br />

|            Parameters            ||
|---------------|-------------------|
| `fragment`    | `Fragment` <br /> |
| `intent`      | `Intent` <br />   |
| `requestCode` | `int` <br />      |

### startActivityFromFragment

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void startActivityFromFragment (Fragment fragment, 
                Intent intent, 
                int requestCode, 
                Bundle options)
```

Called by Fragment.startActivityForResult() to implement its behavior.

<br />

|            Parameters            ||
|---------------|-------------------|
| `fragment`    | `Fragment` <br /> |
| `intent`      | `Intent` <br />   |
| `requestCode` | `int` <br />      |
| `options`     | `Bundle` <br />   |

### startIntentSenderForResult

```
void startIntentSenderForResult (IntentSender intent, 
                int requestCode, 
                Intent fillInIntent, 
                int flagsMask, 
                int flagsValues, 
                int extraFlags)
```

<br />

<br />

|              Parameters               ||
|----------------|-----------------------|
| `intent`       | `IntentSender` <br /> |
| `requestCode`  | `int` <br />          |
| `fillInIntent` | `Intent` <br />       |
| `flagsMask`    | `int` <br />          |
| `flagsValues`  | `int` <br />          |
| `extraFlags`   | `int` <br />          |

|                                                                Throws                                                                ||
|-----------------------------------------------------------------------------------------------------------------------------------|---|
| [IntentSender.SendIntentException](https://developer.android.com/reference/android/content/IntentSender.SendIntentException.html) |   |

### startIntentSenderForResult

```
void startIntentSenderForResult (IntentSender intent, 
                int requestCode, 
                Intent fillInIntent, 
                int flagsMask, 
                int flagsValues, 
                int extraFlags, 
                Bundle options)
```

<br />

<br />

|              Parameters               ||
|----------------|-----------------------|
| `intent`       | `IntentSender` <br /> |
| `requestCode`  | `int` <br />          |
| `fillInIntent` | `Intent` <br />       |
| `flagsMask`    | `int` <br />          |
| `flagsValues`  | `int` <br />          |
| `extraFlags`   | `int` <br />          |
| `options`      | `Bundle` <br />       |

|                                                                Throws                                                                ||
|-----------------------------------------------------------------------------------------------------------------------------------|---|
| [IntentSender.SendIntentException](https://developer.android.com/reference/android/content/IntentSender.SendIntentException.html) |   |

### startIntentSenderFromFragment

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void startIntentSenderFromFragment (Fragment fragment, 
                IntentSender intent, 
                int requestCode, 
                Intent fillInIntent, 
                int flagsMask, 
                int flagsValues, 
                int extraFlags, 
                Bundle options)
```

Called by Fragment.startIntentSenderForResult() to implement its behavior.

<br />

|              Parameters               ||
|----------------|-----------------------|
| `fragment`     | `Fragment` <br />     |
| `intent`       | `IntentSender` <br /> |
| `requestCode`  | `int` <br />          |
| `fillInIntent` | `Intent` <br />       |
| `flagsMask`    | `int` <br />          |
| `flagsValues`  | `int` <br />          |
| `extraFlags`   | `int` <br />          |
| `options`      | `Bundle` <br />       |

|                                                                Throws                                                                ||
|-----------------------------------------------------------------------------------------------------------------------------------|---|
| [IntentSender.SendIntentException](https://developer.android.com/reference/android/content/IntentSender.SendIntentException.html) |   |

### supportFinishAfterTransition

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void supportFinishAfterTransition ()
```

Reverses the Activity Scene entry Transition and triggers the calling Activity to reverse its exit Transition. When the exit Transition completes,[finish()](https://developer.android.com/reference/android/app/Activity.html#finish())is called. If no entry Transition was used, finish() is called immediately and the Activity exit Transition is run.

On Android 4.4 or lower, this method only finishes the Activity with no special exit transition.

<br />

<br />

### supportInvalidateOptionsMenu

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void supportInvalidateOptionsMenu ()
```

<br />

**This method was deprecated in API level 26.1.0.**   
Call[invalidateOptionsMenu()](https://developer.android.com/reference/android/app/Activity.html#invalidateOptionsMenu())directly.

Support library version of[invalidateOptionsMenu()](https://developer.android.com/reference/android/app/Activity.html#invalidateOptionsMenu()).

Invalidate the activity's options menu. This will cause relevant presentations of the menu to fully update via calls to onCreateOptionsMenu and onPrepareOptionsMenu the next time the menu is requested.

<br />

### supportPostponeEnterTransition

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void supportPostponeEnterTransition ()
```

Support library version of[postponeEnterTransition()](https://developer.android.com/reference/android/app/Activity.html#postponeEnterTransition())that works only on API 21 and later.

<br />

### supportStartPostponedEnterTransition

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void supportStartPostponedEnterTransition ()
```

Support library version of[startPostponedEnterTransition()](https://developer.android.com/reference/android/app/Activity.html#startPostponedEnterTransition())that only works with API 21 and later.

<br />

### validateRequestPermissionsRequestCode

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void validateRequestPermissionsRequestCode (int requestCode)
```

<br />

<br />

|         Parameters          ||
|---------------|--------------|
| `requestCode` | `int` <br /> |

## Protected methods

### onActivityResult

```
void onActivityResult (int requestCode, 
                int resultCode, 
                Intent data)
```

Dispatch incoming result to the correct fragment.

<br />

|           Parameters           ||
|---------------|-----------------|
| `requestCode` | `int` <br />    |
| `resultCode`  | `int` <br />    |
| `data`        | `Intent` <br /> |

### onCreate

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onCreate (Bundle savedInstanceState)
```

Perform initialization of all fragments.

<br />

|              Parameters               ||
|----------------------|-----------------|
| `savedInstanceState` | `Bundle` <br /> |

### onDestroy

```
void onDestroy ()
```

Destroy all fragments.

<br />

### onNewIntent

```
void onNewIntent (Intent intent)
```

Handle onNewIntent() to inform the fragment manager that the state is not saved. If you are handling new intents and may be making changes to the fragment state, you want to be sure to call through to the super-class here first. Otherwise, if your state is saved but the activity is not stopped, you could get an onNewIntent() call which happens before onResume() and trying to perform fragment operations at that point will throw IllegalStateException because the fragment manager thinks the state is still saved.

<br />

|        Parameters         ||
|----------|-----------------|
| `intent` | `Intent` <br /> |

### onPause

```
void onPause ()
```

Dispatch onPause() to fragments.

<br />

### onPostResume

```
void onPostResume ()
```

Dispatch onResume() to fragments.

<br />

### onResume

```
void onResume ()
```

Dispatch onResume() to fragments. Note that for better inter-operation with older versions of the platform, at the point of this call the fragments attached to the activity are*not* resumed. This means that in some cases the previous state may still be saved, not allowing fragment transactions that modify the state. To correctly interact with fragments in their proper state, you should instead override[onResumeFragments()](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onResumeFragments()).

<br />

### onResumeFragments

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onResumeFragments ()
```

This is the fragment-orientated version of[onResume()](https://developer.android.com/reference/android/support/v4/app/FragmentActivity#onResume())that you can override to perform operations in the Activity at the same point where its fragments are resumed. Be sure to always call through to the super-class.

<br />

### onSaveInstanceState

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onSaveInstanceState (Bundle outState)
```

Save all appropriate fragment state.

<br />

|         Parameters          ||
|------------|-----------------|
| `outState` | `Bundle` <br /> |

### onStart

```
void onStart ()
```

Dispatch onStart() to all fragments.

<br />

### onStop

```
void onStop ()
```

Dispatch onStop() to all fragments.

<br />

-

  ## Annotations

  - [NotificationCompat.Action.SemanticAction](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Action.SemanticAction)
-

  ## Interfaces

  - [ActionBarDrawerToggle.Delegate](https://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.Delegate)
  - [ActionBarDrawerToggle.DelegateProvider](https://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.DelegateProvider)
  - [ActivityCompat.OnRequestPermissionsResultCallback](https://developer.android.com/reference/android/support/v4/app/ActivityCompat.OnRequestPermissionsResultCallback)
  - [ActivityCompat.PermissionCompatDelegate](https://developer.android.com/reference/android/support/v4/app/ActivityCompat.PermissionCompatDelegate)
  - [FragmentManager.BackStackEntry](https://developer.android.com/reference/android/support/v4/app/FragmentManager.BackStackEntry)
  - [FragmentManager.OnBackStackChangedListener](https://developer.android.com/reference/android/support/v4/app/FragmentManager.OnBackStackChangedListener)
  - [LoaderManager.LoaderCallbacks](https://developer.android.com/reference/android/support/v4/app/LoaderManager.LoaderCallbacks)
  - [NotificationCompat.Action.Extender](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Action.Extender)
  - [NotificationCompat.Extender](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Extender)
  - [SharedElementCallback.OnSharedElementsReadyListener](https://developer.android.com/reference/android/support/v4/app/SharedElementCallback.OnSharedElementsReadyListener)
  - [TaskStackBuilder.SupportParentable](https://developer.android.com/reference/android/support/v4/app/TaskStackBuilder.SupportParentable)
-

  ## Classes

  - [ActionBarDrawerToggle](https://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle)
  - [ActivityCompat](https://developer.android.com/reference/android/support/v4/app/ActivityCompat)
  - [ActivityManagerCompat](https://developer.android.com/reference/android/support/v4/app/ActivityManagerCompat)
  - [ActivityOptionsCompat](https://developer.android.com/reference/android/support/v4/app/ActivityOptionsCompat)
  - [AlarmManagerCompat](https://developer.android.com/reference/android/support/v4/app/AlarmManagerCompat)
  - [AppLaunchChecker](https://developer.android.com/reference/android/support/v4/app/AppLaunchChecker)
  - [AppOpsManagerCompat](https://developer.android.com/reference/android/support/v4/app/AppOpsManagerCompat)
  - [BundleCompat](https://developer.android.com/reference/android/support/v4/app/BundleCompat)
  - [DialogFragment](https://developer.android.com/reference/android/support/v4/app/DialogFragment)
  - [Fragment](https://developer.android.com/reference/android/support/v4/app/Fragment)
  - [Fragment.SavedState](https://developer.android.com/reference/android/support/v4/app/Fragment.SavedState)
  - [FragmentActivity](https://developer.android.com/reference/android/support/v4/app/FragmentActivity)
  - [FragmentContainer](https://developer.android.com/reference/android/support/v4/app/FragmentContainer)
  - [FragmentController](https://developer.android.com/reference/android/support/v4/app/FragmentController)
  - [FragmentHostCallback](https://developer.android.com/reference/android/support/v4/app/FragmentHostCallback)
  - [FragmentManager](https://developer.android.com/reference/android/support/v4/app/FragmentManager)
  - [FragmentManager.FragmentLifecycleCallbacks](https://developer.android.com/reference/android/support/v4/app/FragmentManager.FragmentLifecycleCallbacks)
  - [FragmentManagerNonConfig](https://developer.android.com/reference/android/support/v4/app/FragmentManagerNonConfig)
  - [FragmentPagerAdapter](https://developer.android.com/reference/android/support/v4/app/FragmentPagerAdapter)
  - [FragmentStatePagerAdapter](https://developer.android.com/reference/android/support/v4/app/FragmentStatePagerAdapter)
  - [FragmentTabHost](https://developer.android.com/reference/android/support/v4/app/FragmentTabHost)
  - [FragmentTransaction](https://developer.android.com/reference/android/support/v4/app/FragmentTransaction)
  - [FrameMetricsAggregator](https://developer.android.com/reference/android/support/v4/app/FrameMetricsAggregator)
  - [JobIntentService](https://developer.android.com/reference/android/support/v4/app/JobIntentService)
  - [ListFragment](https://developer.android.com/reference/android/support/v4/app/ListFragment)
  - [LoaderManager](https://developer.android.com/reference/android/support/v4/app/LoaderManager)
  - [NavUtils](https://developer.android.com/reference/android/support/v4/app/NavUtils)
  - [NotificationCompat](https://developer.android.com/reference/android/support/v4/app/NotificationCompat)
  - [NotificationCompat.Action](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Action)
  - [NotificationCompat.Action.Builder](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Action.Builder)
  - [NotificationCompat.Action.WearableExtender](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Action.WearableExtender)
  - [NotificationCompat.BigPictureStyle](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigPictureStyle)
  - [NotificationCompat.BigTextStyle](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle)
  - [NotificationCompat.Builder](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder)
  - [NotificationCompat.CarExtender](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.CarExtender)
  - [NotificationCompat.CarExtender.UnreadConversation](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.CarExtender.UnreadConversation)
  - [NotificationCompat.CarExtender.UnreadConversation.Builder](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.CarExtender.UnreadConversation.Builder)
  - [NotificationCompat.DecoratedCustomViewStyle](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.DecoratedCustomViewStyle)
  - [NotificationCompat.InboxStyle](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.InboxStyle)
  - [NotificationCompat.MessagingStyle](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.MessagingStyle)
  - [NotificationCompat.MessagingStyle.Message](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.MessagingStyle.Message)
  - [NotificationCompat.Style](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Style)
  - [NotificationCompat.WearableExtender](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.WearableExtender)
  - [NotificationCompatExtras](https://developer.android.com/reference/android/support/v4/app/NotificationCompatExtras)
  - [NotificationCompatSideChannelService](https://developer.android.com/reference/android/support/v4/app/NotificationCompatSideChannelService)
  - [NotificationManagerCompat](https://developer.android.com/reference/android/support/v4/app/NotificationManagerCompat)
  - [RemoteInput](https://developer.android.com/reference/android/support/v4/app/RemoteInput)
  - [RemoteInput.Builder](https://developer.android.com/reference/android/support/v4/app/RemoteInput.Builder)
  - [ServiceCompat](https://developer.android.com/reference/android/support/v4/app/ServiceCompat)
  - [ShareCompat](https://developer.android.com/reference/android/support/v4/app/ShareCompat)
  - [ShareCompat.IntentBuilder](https://developer.android.com/reference/android/support/v4/app/ShareCompat.IntentBuilder)
  - [ShareCompat.IntentReader](https://developer.android.com/reference/android/support/v4/app/ShareCompat.IntentReader)
  - [SharedElementCallback](https://developer.android.com/reference/android/support/v4/app/SharedElementCallback)
  - [TaskStackBuilder](https://developer.android.com/reference/android/support/v4/app/TaskStackBuilder)
-

  ## Exceptions

  - [Fragment.InstantiationException](https://developer.android.com/reference/android/support/v4/app/Fragment.InstantiationException)