Simple Stack 1.7.2
Simple Stack 1.7.2 (2017-07-24)
- MINOR CHANGE + ENHANCEMENT:
StateChange.getNewState() and StateChange.getPreviousState() return a copy of the list (it was already a copy, don't worry), where each item is casted to <T> specified as generic parameter.
For example, the following can be changed from:
for(Object _newKey : stateChange.getNewState()) {
Key newKey = (Key)_newKey;
// ...
}to:
for(Key newKey : stateChange.<Key>getNewState()) {
// ...
}And the following works now as well:
List<Key> newKeys = stateChange.getNewState(); // used to return List<Object>-
ADDED: MVVM sample.
-
ADDED: Shared Element Transition Fragments sample.