Skip to content

Simple Stack 1.7.2

Choose a tag to compare

@Zhuinden Zhuinden released this 08 Aug 16:29
· 349 commits to master since this release

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.