-
Notifications
You must be signed in to change notification settings - Fork 76
1. Terminology
Gabor Varadi edited this page May 31, 2017
·
5 revisions
-
Key
: immutable value object (so it implements hashCode/equals/toString properly) that represents where you are in the application. Originally it would have been calledState
, but it's used as thekey
in a map that identifies theSavedState
. -
Backstack
: the object that contains the current state, and exposes methods to manipulate it. Think of it as a Router. -
StateChange
: an object that represents a change in state, providing the previous and the new keys. -
StateChanger
: the class that handles when the state changes, and calls the callback when the state change is complete.