lifecycle/runtime/src/main/java/androidx/lifecycle/LifecycleRegistry.java
@SuppressWarnings("WeakerAccess")
    @MainThread
    public void markState(@NonNull State state) {
        moveToState(state);
    }
/**
     * Moves the Lifecycle to the given state and dispatches necessary events to the observers.
     *
     * @param state new state
     */
Moves the Lifecycle to the given state and dispatches necessary events to the observers.
@param state new state
Moves the Lifecycle to the given state and dispatches necessary events to the observers . @param state new state
@SuppressWarnings("WeakerAccess")
    @MainThread
    public void markState(@NonNull State state) {
        moveToState(state);
    }
@ SuppressWarnings ( "WeakerAccess" ) @ MainThread public void markState ( @ NonNull State state ) { moveToState ( state ) ; }
Moves the Lifecycle to the given state and dispatches necessary events to the observers.
Moves the Lifecycle to the given state and dispatches necessary events to the observers .