Closed Zhuinden closed 5 years ago
Other option:
Another option:
State
and Key
becomes ScreenKey
Although maybe it really should just stay Key
also KeyParceler
wants to be ObjectParceler
.
Okay, so what it's gonna be is:
StateChange.getNewState() -> stateChange.getNewKeys() topNewState() -> topNewKey() (same for previous)
also: StateKey
-> DefaultViewKey
DefaultStateChanger
-> DefaultViewStateChanger
and the ViewChangeHandler.CompletionCallback
is often in my way, I'll give a different name for that, too.
There's a chance that the API would be much easier to work with if I used the term
Screen
instead.Interestingly, Flow 0.8 and before also used the term
Screen
for what is called Key now.That would mean
ScopeKey
andScopeKey.Child
are a good question, though.