Summary: Enums | Methods | Inherited Methods | [Expand All]

# Stage

`public final enum Stage`
`` `extends Enum<Stage>` ``

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

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)`
`static final Stage[]` | `values()`

### Inherited methods
From class `java.lang.Enum`
`final Object` | `clone()`
`final int` | `compareTo(Stage arg0)`
`int` | `compareTo(Object arg0)`
`final boolean` | `equals(Object arg0)`
`final void` | `finalize()`
`final Class<Stage>` | `getDeclaringClass()`
`final int` | `hashCode()`
`final String` | `name()`
`final int` | `ordinal()`
`String` | `toString()`
`static <T extends Enum<T>> T` | `valueOf(Class<T> arg0, String arg1)`
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()`
From interface `java.lang.Comparable`
`abstract int` | `compareTo(Stage arg0)`

## Enum values

### CREATED

    Stage CREATED

Indicates that onCreate has been called.

### DESTROYED

    Stage DESTROYED

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

### PAUSED

    Stage PAUSED

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

### PRE_ON_CREATE

    Stage PRE_ON_CREATE

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

### RESTARTED

    Stage RESTARTED

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

### RESUMED

    Stage RESUMED

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

### STARTED

    Stage STARTED

Indicates that onStart has been called.

### STOPPED

    Stage STOPPED

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

## Public methods

### valueOf

    Stage valueOf (String name)

Parameters
`name` | `String`

Returns
`Stage` |

### values

    Stage[] values ()

Returns
`Stage[]` |

- ## Interfaces

  - ActivityLifecycleCallback
  - ActivityLifecycleMonitor
  - ApplicationLifecycleCallback
  - ApplicationLifecycleMonitor

- ## Classes

  - ActivityLifecycleMonitorRegistry
  - ApplicationLifecycleMonitorRegistry

- ## Enums

  - ApplicationStage
  - Stage