public final enum

Stage

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ android.support.test.runner.lifecycle.Stage

Class Overview

An enumeration of the lifecycle stages an activity undergoes.

See the Activity javadoc for detailed documentation.

Summary

Enum Values
Stage  CREATED  Indicates that onCreate has been called. 
Stage  DESTROYED  Indicates that onDestroy has been called - system is shutting down the activity. 
Stage  PAUSED  Indicates that onPause has been called - activity is no longer in the foreground. 
Stage  PRE_ON_CREATE  Indicates that onCreate is being called before any onCreate code executes. 
Stage  RESTARTED  Indicates that onResume has been called - we have navigated back to the activity. 
Stage  RESUMED  Indicates that onResume has been called - activity is now visible to user. 
Stage  STARTED  Indicates that onStart has been called. 
Stage  STOPPED  Indicates that onStop has been called - activity is no longer visible to the user. 
Public Methods
static Stage valueOf(String name)
final static Stage[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Stage CREATED

Indicates that onCreate has been called.

public static final Stage DESTROYED

Indicates that onDestroy has been called - system is shutting down the activity.

public static final Stage PAUSED

Indicates that onPause has been called - activity is no longer in the foreground.

public static final Stage PRE_ON_CREATE

Indicates that onCreate is being called before any onCreate code executes.

public static final Stage RESTARTED

Indicates that onResume has been called - we have navigated back to the activity.

public static final Stage RESUMED

Indicates that onResume has been called - activity is now visible to user.

public static final Stage STARTED

Indicates that onStart has been called.

public static final Stage STOPPED

Indicates that onStop has been called - activity is no longer visible to the user.

Public Methods

public static Stage valueOf (String name)

public static final Stage[] values ()