Simple Stack 1.9.0
Simple Stack 1.9.0 (2018-03-04)
- DEPRECATED: HistoryBuilder's factory methods are moved from HistoryBuilder to the newly added
Historyclass.
HistoryBuilder.from(T... objects) -> History.builderOf(T... objects)
HistoryBuilder.from(...) -> History.builderFrom(...)
HistoryBuilder.single() -> History.single()
HistoryBuilder.newBuilder() -> History.newBuilder()
Also adds History.of(T... objects) instead of HistoryBuilder.of(...).build().
- ADDED:
Historyclass, an immutable list with additional operations overList<T>- as some methods' return type.
I also changed some return types (in history building) from List<Object> to <T> List<T>,
this resulted in having to change some List<Object>s to List<?> on the receiving side if used in assignment.
So if you run into that, just change List<Object> to List<?> and it should work.
-
ADDED: Long-overdue empty constructor for
BackstackDelegateandbackstack.setStateChanger(StateChanger). -
UPDATE: Kotlin sample replaces
PaperParcelwith@Parcelize.