Skip to content

Commit

Permalink
1.2.0: add StateBundle class for Bundleable
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuinden committed Feb 28, 2017
1 parent 3a4aa38 commit ffe858f
Show file tree
Hide file tree
Showing 30 changed files with 2,290 additions and 397 deletions.
229 changes: 0 additions & 229 deletions .idea/codeStyleSettings.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/encodings.xml

This file was deleted.

67 changes: 0 additions & 67 deletions .idea/markdown-navigator.xml

This file was deleted.

3 changes: 0 additions & 3 deletions .idea/markdown-navigator/profiles_settings.xml

This file was deleted.

16 changes: 0 additions & 16 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change log

-Simple Stack 1.2.0 (2017-02-28)
--------------------------------
- BREAKING CHANGE: `Bundleable` and `SavedState` now use `StateBundle` class.

- ENHANCEMENT: Added `StateBundle` class to replace `android.os.Bundle`.

-Simple Stack 1.1.1 (2017-02-19)
--------------------------------
- FIX: A bug that allowed the possibility that an uninitialized backstack could restore its history to be an empty list after process death.
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ In order to use Simple Stack, you need to add jitpack to your project root gradl

and add the compile dependency to your module level gradle.

compile 'com.github.Zhuinden:simple-stack:1.1.1'
compile 'com.github.Zhuinden:simple-stack:1.2.0'

## How does it work?

Expand Down Expand Up @@ -155,7 +155,7 @@ public class MainActivity

- [BackstackDelegate](https://github.com/Zhuinden/simple-stack/blob/master/simple-stack/src/main/java/com/zhuinden/simplestack/BackstackDelegate.java): delegate class to hide Activity lifecycle integration, and provide view state persistence.

- [Bundleable](https://github.com/Zhuinden/simple-stack/blob/master/simple-stack/src/main/java/com/zhuinden/simplestack/Bundleable.java): interface that allows you to persist state directly from a custom View into a Bundle, using the delegate.
- [Bundleable](https://github.com/Zhuinden/simple-stack/blob/master/simple-stack/src/main/java/com/zhuinden/simplestack/Bundleable.java): interface that allows you to persist state directly from a custom View into a StateBundle, using the delegate.

- [HistoryBuilder](https://github.com/Zhuinden/simple-stack/blob/master/simple-stack/src/main/java/com/zhuinden/simplestack/HistoryBuilder.java): Convenience class for building `ArrayList<Object>`.

Expand All @@ -165,6 +165,8 @@ public class MainActivity

- [PendingStateChange](https://github.com/Zhuinden/simple-stack/blob/master/simple-stack/src/main/java/com/zhuinden/simplestack/PendingStateChange.java): represents a change that will occur when possible.

- [StateBundle](https://github.com/Zhuinden/simple-stack/blob/master/simple-stack/src/main/java/com/zhuinden/simplestack/StateBundle.java): a class which works as a state storage, a replacement for `android.os.Bundle`.

- [StateChanger](https://github.com/Zhuinden/simple-stack/blob/master/simple-stack/src/main/java/com/zhuinden/simplestack/StateChanger.java): interface for a class that listens to changes inside the Backstack.

- [StateChange](https://github.com/Zhuinden/simple-stack/blob/master/simple-stack/src/main/java/com/zhuinden/simplestack/StateChange.java): represents a state change inside the backstack, providing previous state, new state, and the direction of the change.
Expand Down
Loading

0 comments on commit ffe858f

Please sign in to comment.