Simple Stack 1.9.1
Simple-Stack 1.9.1 (2018-05-20)
-
Fix:
History.single()
should returnHistory<T>
, notList<T>
. -
ADDED:
jumpToRoot()
andmoveToTop()
convenience operators toBackstack
. -
ADDED:
goUp(Object, boolean fallbackToBack)
andgoUpChain(List<?>, boolean fallbackToBack)
to allow opt-in for the newly provided navigation principle: "Up and Back are equivalent within your app's task". To retain previous behavior without breaking changes, this is opt-in with a boolean flag. Default behavior does NOT fall back to back, but clears top to the parent instead.
Up and Back are equivalent within your app's task
When the system Back button would not exit your app, such as when you are on your own task and not on the start destination, the Up button should function identically to the system Back button.