S - The concrete type of the state object.public interface StateManager<S extends State> extends Disposable, StateObserver<S>
| Modifier and Type | Method and Description |
|---|---|
void |
handleNewState(S newState,
Event event)
Validate and set a new state object.
|
disposeaddStateChangedListener, getCurrentState, removeStateChangedListenerCopyright © 2016 Cooking Fox. All rights reserved.