# NavUtils

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1  
Summary:[Constants](https://developer.android.com/reference/android/support/v4/app/NavUtils#constants)\|[Methods](https://developer.android.com/reference/android/support/v4/app/NavUtils#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/v4/app/NavUtils#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/v4/app/NavUtils#)  

# NavUtils

| 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

final

class
NavUtils
`  
`

extends Object


``


`

|---|---------------------------------|
| java.lang.Object                   ||
| ↳ | android.support.v4.app.NavUtils |

<br />

*** ** * ** ***

NavUtils provides helper functionality for applications implementing recommended Android UI navigation patterns. For information about recommended navigation patterns see[Tasks and Back Stack](https://developer.android.com/guide/topics/fundamentals/tasks-and-back-stack)from the developer guide and[Navigation](https://developer.android.com/design/patterns/navigation)from the design guide.

## Summary

|                                                        ### Constants                                                        ||
|----------|-------------------------------------------------------------------------------------------------------------------|
| `String` | [PARENT_ACTIVITY](https://developer.android.com/reference/android/support/v4/app/NavUtils#PARENT_ACTIVITY) <br /> |

|                                                                                                                                                                                                                                                                                                                                                                                                      ### Public methods                                                                                                                                                                                                                                                                                                                                                                                                       ||
|-----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` static `[Intent](https://developer.android.com/reference/android/content/Intent.html) | ` `[getParentActivityIntent](https://developer.android.com/reference/android/support/v4/app/NavUtils#getParentActivityIntent(android.content.Context, android.content.ComponentName))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context, `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)` componentName) ` Obtain an[Intent](https://developer.android.com/reference/android/content/Intent.html)that will launch an explicit target activity specified by sourceActivityClass's[PARENT_ACTIVITY](https://developer.android.com/reference/android/support/v4/app/NavUtils#PARENT_ACTIVITY)\<meta-data\> element in the application's manifest. |
| ` static `[Intent](https://developer.android.com/reference/android/content/Intent.html) | ` `[getParentActivityIntent](https://developer.android.com/reference/android/support/v4/app/NavUtils#getParentActivityIntent(android.content.Context, java.lang.Class<?>))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context, Class<?> sourceActivityClass) ` Obtain an[Intent](https://developer.android.com/reference/android/content/Intent.html)that will launch an explicit target activity specified by sourceActivityClass's[PARENT_ACTIVITY](https://developer.android.com/reference/android/support/v4/app/NavUtils#PARENT_ACTIVITY)\<meta-data\> element in the application's manifest.                                                                                           |
| ` static `[Intent](https://developer.android.com/reference/android/content/Intent.html) | ` `[getParentActivityIntent](https://developer.android.com/reference/android/support/v4/app/NavUtils#getParentActivityIntent(android.app.Activity))`(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` sourceActivity) ` Obtain an[Intent](https://developer.android.com/reference/android/content/Intent.html)that will launch an explicit target activity specified by sourceActivity's[PARENT_ACTIVITY](https://developer.android.com/reference/android/support/v4/app/NavUtils#PARENT_ACTIVITY)\<meta-data\> element in the application's manifest.                                                                                                                                                |
| ` static String`                                                                        | ` `[getParentActivityName](https://developer.android.com/reference/android/support/v4/app/NavUtils#getParentActivityName(android.content.Context, android.content.ComponentName))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context, `[ComponentName](https://developer.android.com/reference/android/content/ComponentName.html)` componentName) ` Return the fully qualified class name of a source activity's parent activity as specified by a[PARENT_ACTIVITY](https://developer.android.com/reference/android/support/v4/app/NavUtils#PARENT_ACTIVITY)\<meta-data\> element within the activity element in the application's manifest.                                                |
| ` static String`                                                                        | ` `[getParentActivityName](https://developer.android.com/reference/android/support/v4/app/NavUtils#getParentActivityName(android.app.Activity))`(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` sourceActivity) ` Return the fully qualified class name of sourceActivity's parent activity as specified by a[PARENT_ACTIVITY](https://developer.android.com/reference/android/support/v4/app/NavUtils#PARENT_ACTIVITY)\<meta-data\> element within the activity element in the application's manifest.                                                                                                                                                                                             |
| ` static void`                                                                          | ` `[navigateUpFromSameTask](https://developer.android.com/reference/android/support/v4/app/NavUtils#navigateUpFromSameTask(android.app.Activity))`(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` sourceActivity) ` Convenience method that is equivalent to calling[navigateUpTo](https://developer.android.com/reference/android/support/v4/app/NavUtils#navigateUpTo(android.app.Activity, android.content.Intent))`(sourceActivity, `[getParentActivityIntent](https://developer.android.com/reference/android/support/v4/app/NavUtils#getParentActivityIntent(android.app.Activity))` (sourceActivity))`.                                                                                      |
| ` static void`                                                                          | ` `[navigateUpTo](https://developer.android.com/reference/android/support/v4/app/NavUtils#navigateUpTo(android.app.Activity, android.content.Intent))`(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` sourceActivity, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` upIntent) ` Navigate from sourceActivity to the activity specified by upIntent, finishing sourceActivity in the process.                                                                                                                                                                                                                                                                      |
| ` static boolean`                                                                       | ` `[shouldUpRecreateTask](https://developer.android.com/reference/android/support/v4/app/NavUtils#shouldUpRecreateTask(android.app.Activity, android.content.Intent))`(`[Activity](https://developer.android.com/reference/android/app/Activity.html)` sourceActivity, `[Intent](https://developer.android.com/reference/android/content/Intent.html)` targetIntent) ` Returns true if sourceActivity should recreate the task when navigating 'up' by using targetIntent.                                                                                                                                                                                                                                                           |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/NavUtils#)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() `                    | ||

## Constants

### PARENT_ACTIVITY

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

```
String PARENT_ACTIVITY
```

<br />

<br />

Constant Value: "android.support.PARENT_ACTIVITY"

## Public methods

### getParentActivityIntent

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

```
Intent getParentActivityIntent (Context context, 
                ComponentName componentName)
```

Obtain an[Intent](https://developer.android.com/reference/android/content/Intent.html)that will launch an explicit target activity specified by sourceActivityClass's[PARENT_ACTIVITY](https://developer.android.com/reference/android/support/v4/app/NavUtils#PARENT_ACTIVITY)\<meta-data\> element in the application's manifest.

<br />

|                                                Parameters                                                ||
|-----------------|-----------------------------------------------------------------------------------------|
| `context`       | `Context`: Context for looking up the activity component for the source activity <br /> |
| `componentName` | `ComponentName`: ComponentName for the source Activity <br />                           |

|                                                                          Returns                                                                           ||
|-------------------------------------------------------------------------------|-----------------------------------------------------------------------------|
| [Intent](https://developer.android.com/reference/android/content/Intent.html) | a new Intent targeting the defined parent activity of sourceActivity <br /> |

|                                                                                                Throws                                                                                                 ||
|----------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
| [PackageManager.NameNotFoundException](https://developer.android.com/reference/android/content/pm/PackageManager.NameNotFoundException.html) | if the ComponentName for sourceActivityClass is invalid |

### getParentActivityIntent

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

```
Intent getParentActivityIntent (Context context, 
                Class<?> sourceActivityClass)
```

Obtain an[Intent](https://developer.android.com/reference/android/content/Intent.html)that will launch an explicit target activity specified by sourceActivityClass's[PARENT_ACTIVITY](https://developer.android.com/reference/android/support/v4/app/NavUtils#PARENT_ACTIVITY)\<meta-data\> element in the application's manifest.

<br />

|                                                             Parameters                                                             ||
|-----------------------|-------------------------------------------------------------------------------------------------------------|
| `context`             | `Context`: Context for looking up the activity component for sourceActivityClass <br />                     |
| `sourceActivityClass` | `Class`:[Class](https://developer.android.com/reference/java/lang/Class)object for an Activity class <br /> |

|                                                                          Returns                                                                           ||
|-------------------------------------------------------------------------------|-----------------------------------------------------------------------------|
| [Intent](https://developer.android.com/reference/android/content/Intent.html) | a new Intent targeting the defined parent activity of sourceActivity <br /> |

|                                                                                                Throws                                                                                                 ||
|----------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
| [PackageManager.NameNotFoundException](https://developer.android.com/reference/android/content/pm/PackageManager.NameNotFoundException.html) | if the ComponentName for sourceActivityClass is invalid |

### getParentActivityIntent

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

```
Intent getParentActivityIntent (Activity sourceActivity)
```

Obtain an[Intent](https://developer.android.com/reference/android/content/Intent.html)that will launch an explicit target activity specified by sourceActivity's[PARENT_ACTIVITY](https://developer.android.com/reference/android/support/v4/app/NavUtils#PARENT_ACTIVITY)\<meta-data\> element in the application's manifest. If the device is running Jellybean or newer, the android:parentActivityName attribute will be preferred if it is present.

<br />

|                                 Parameters                                 ||
|------------------|----------------------------------------------------------|
| `sourceActivity` | `Activity`: Activity to fetch a parent intent for <br /> |

|                                                                          Returns                                                                           ||
|-------------------------------------------------------------------------------|-----------------------------------------------------------------------------|
| [Intent](https://developer.android.com/reference/android/content/Intent.html) | a new Intent targeting the defined parent activity of sourceActivity <br /> |

### getParentActivityName

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

```
String getParentActivityName (Context context, 
                ComponentName componentName)
```

Return the fully qualified class name of a source activity's parent activity as specified by a[PARENT_ACTIVITY](https://developer.android.com/reference/android/support/v4/app/NavUtils#PARENT_ACTIVITY)\<meta-data\> element within the activity element in the application's manifest. The source activity is provided by componentName.

<br />

|                                                Parameters                                                ||
|-----------------|-----------------------------------------------------------------------------------------|
| `context`       | `Context`: Context for looking up the activity component for the source activity <br /> |
| `componentName` | `ComponentName`: ComponentName for the source Activity <br />                           |

|                                                       Returns                                                       ||
|----------|-----------------------------------------------------------------------------------------------------------|
| `String` | The fully qualified class name of sourceActivity's parent activity or null if it was not specified <br /> |

|                                                                     Throws                                                                      ||
|----------------------------------------------------------------------------------------------------------------------------------------------|---|
| [PackageManager.NameNotFoundException](https://developer.android.com/reference/android/content/pm/PackageManager.NameNotFoundException.html) |   |

### getParentActivityName

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

```
String getParentActivityName (Activity sourceActivity)
```

Return the fully qualified class name of sourceActivity's parent activity as specified by a[PARENT_ACTIVITY](https://developer.android.com/reference/android/support/v4/app/NavUtils#PARENT_ACTIVITY)\<meta-data\> element within the activity element in the application's manifest.

<br />

|                                   Parameters                                   ||
|------------------|--------------------------------------------------------------|
| `sourceActivity` | `Activity`: Activity to fetch a parent class name for <br /> |

|                                                       Returns                                                       ||
|----------|-----------------------------------------------------------------------------------------------------------|
| `String` | The fully qualified class name of sourceActivity's parent activity or null if it was not specified <br /> |

### navigateUpFromSameTask

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

```
void navigateUpFromSameTask (Activity sourceActivity)
```

Convenience method that is equivalent to calling[navigateUpTo](https://developer.android.com/reference/android/support/v4/app/NavUtils#navigateUpTo(android.app.Activity, android.content.Intent))`(sourceActivity,
`[getParentActivityIntent](https://developer.android.com/reference/android/support/v4/app/NavUtils#getParentActivityIntent(android.app.Activity))` (sourceActivity))`. sourceActivity will be finished by this call.

*Note:* This method should only be used when sourceActivity and the corresponding parent are within the same task. If up navigation should cross tasks in some cases, see[shouldUpRecreateTask(Activity, Intent)](https://developer.android.com/reference/android/support/v4/app/NavUtils#shouldUpRecreateTask(android.app.Activity, android.content.Intent)).

<br />

<br />

|                                                 Parameters                                                 ||
|------------------|------------------------------------------------------------------------------------------|
| `sourceActivity` | `Activity`: The current activity from which the user is attempting to navigate up <br /> |

### navigateUpTo

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

```
void navigateUpTo (Activity sourceActivity, 
                Intent upIntent)
```

Navigate from sourceActivity to the activity specified by upIntent, finishing sourceActivity in the process. upIntent will have the flag[FLAG_ACTIVITY_CLEAR_TOP](https://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP)set by this method, along with any others required for proper up navigation as outlined in the Android Design Guide.

This method should be used when performing up navigation from within the same task as the destination. If up navigation should cross tasks in some cases, see[shouldUpRecreateTask(Activity, Intent)](https://developer.android.com/reference/android/support/v4/app/NavUtils#shouldUpRecreateTask(android.app.Activity, android.content.Intent)).

<br />

<br />

|                                                 Parameters                                                 ||
|------------------|------------------------------------------------------------------------------------------|
| `sourceActivity` | `Activity`: The current activity from which the user is attempting to navigate up <br /> |
| `upIntent`       | `Intent`: An intent representing the target destination for up navigation <br />         |

### shouldUpRecreateTask

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

```
boolean shouldUpRecreateTask (Activity sourceActivity, 
                Intent targetIntent)
```

Returns true if sourceActivity should recreate the task when navigating 'up' by using targetIntent.

If this method returns false the app can trivially call[navigateUpTo(Activity, Intent)](https://developer.android.com/reference/android/support/v4/app/NavUtils#navigateUpTo(android.app.Activity, android.content.Intent))using the same parameters to correctly perform up navigation. If this method returns true, the app should synthesize a new task stack by using[TaskStackBuilder](https://developer.android.com/reference/android/support/v4/app/TaskStackBuilder)or another similar mechanism to perform up navigation.

<br />

<br />

|                                                 Parameters                                                 ||
|------------------|------------------------------------------------------------------------------------------|
| `sourceActivity` | `Activity`: The current activity from which the user is attempting to navigate up <br /> |
| `targetIntent`   | `Intent`: An intent representing the target destination for up navigation <br />         |

|                                                               Returns                                                               ||
|-----------|--------------------------------------------------------------------------------------------------------------------------|
| `boolean` | true if navigating up should recreate a new task stack, false if the same task should be used for the destination <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)