Example usage for Java android.support.v4.app NavUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
String | PARENT_ACTIVITY |
Intent | getParentActivityIntent(Activity sourceActivity) Obtain an Intent that will launch Intent#ACTION_MAIN with an explicit target activity specified by sourceActivity's #PARENT_ACTIVITY <meta-data> element in the application's manifest. |
String | getParentActivityName(Activity sourceActivity) Return the fully qualified class name of sourceActivity's parent activity as specified by a #PARENT_ACTIVITY <meta-data> element within the activity element in the application's manifest. |
void | navigateUpFromSameTask(Activity sourceActivity) Convenience method that is equivalent to calling #navigateUpTo(Activity,Intent) navigateUpTo (sourceActivity, #getParentActivityIntent(Activity) getParentActivityIntent (sourceActivity)) . |
void | navigateUpTo(Activity sourceActivity, Intent upIntent) Navigate from sourceActivity to the activity specified by upIntent, finishing sourceActivity in the process. |
boolean | shouldUpRecreateTask(Activity sourceActivity, Intent targetIntent) Returns true if sourceActivity should recreate the task when navigating 'up' by using targetIntent. |