Releases: Zhuinden/simple-stack
Releases · Zhuinden/simple-stack
Simple Stack 0.6.0
Simple Stack 0.6.0 (2017-01-23)
- Simple Stack is now a library!
- Added
BackstackDelegate.getBackstack()
for convenience overBackstack.get(this)
in Activity
Simple Stack 0.5.1
Simple Stack 0.5.1 (2017-01-23)
- Added
Bundleable
interface to allow saving view's state to Bundle - Added
BackstackDelegate.restoreViewFromState()
method to mirrorpersistViewToState()
getSavedState()
now returns a newSavedState
instead of throwing error if the key has no state bound to it- Added
SavedState.viewHierarchyState
default valuenew SparseArray<>()
, null is prohibited
Simple Stack 0.5.0
Simple Stack 0.5.0 (2017-01-22)
- Added
BackstackDelegate
class to hide activity lifecycle integration - Moved
SavedState
into library - Added
Backstack.get(Context)
method to obtain Backstack of instance shared by the delegate - Moved
KeyContextWrapper
into library, and it is now package-private - Added
StateChange.createContext(base, key)
method to createKeyContextWrapper
KeyContextWrapper.getKey(Context)
is nowBackstack.getKey(Context)
Simple Stack 0.4.0
Simple Stack 0.4.0 (2017-01-21)
- Rename packages from
demostack
tosimplestack
Simple Stack 0.3.3
Simple Stack 0.3.3 (2017-01-21)
- Rename
State
toSavedState
Simple Stack 0.3.2
Simple Stack 0.3.2 (2017-01-21)
- Add check for if
key
isnull
inState
'sBuilder.build()
Simple Stack 0.3.1
Simple Stack 0.3.1 (2017-01-20)
- Added missing
equals()
/hashCode()
toState
class in example
Simple Stack 0.3.0
Simple Stack 0.3.0 (2017-01-20)
- added
State
class and view state persistence to example code (MainActivity
)
Simple Stack 0.2.6
Simple Stack 0.2.6 (2017-01-20)
- added
HistoryBuilder
for convenience and relevant tests
Simple Stack 0.2.5
Simple Stack 0.2.5 (2017-01-17)
- fixed a bug in
goBack()