Simple Stack 1.6.2
Simple Stack 1.6.2 (2017-05-14)
-
MINOR CHANGE:
DefaultStateChanger
no longer explicitly demands aStateKey
, because bothLayoutInflationStrategy
andGetViewChangeHandlerStrategy
can be re-defined for custom behavior. -
Added
GetViewChangeHandlerStrategy
toDefaultStateChanger
to allow re-defining the view change handler behavior. -
Added
ContextCreationStrategy
toDefaultStateChanger
to support Mortar scopes, or anything similar in design. -
Added
BackstackManager.StateChangeCompletionListener
to add a hook where you can listen for the completion of state changes reliably - even if they were forced to execute.
Also added addStateChangeCompletionListener
to BackstackDelegate
and Navigator.Installer
accordingly.
Please make sure it does not retain a reference to enclosing Activity, to avoid memory leaks.
-
Minor fix:
setKeyFilter()
,setKeyParceler()
, andsetStateClearStrategy()
inBackstackDelegate
now throw if they are set after callingonCreate()
, as per docs. -
Bump
state-bundle
version to1.1.5
-
ADDED:
simple-stack-mortar-sample
, which is based onmortar-sample
fromsquare/mortar
, but usingSimple-Stack
andService-Tree
.