Skip to content

Commit 2167582

Browse files
author
Daniel Novak
committed
Bump version to 1.0.0
1 parent feac6ce commit 2167582

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.0.0(2016-05-02)
2+
3+
- We decided it's time for 1.0.0 release after a lot of use in production projects.
4+
- Made getViewModel() as NonNull to prevent a lot of unncessary null checks. It will now throw an IllegalStateException in case it's null (should not happen under normal conditions. Only if you call it too soon - before Activity.onCreate or Fragment.onCreate).
5+
- <b>Breaking change</b>: AbstractViewModel method saveState was renamed to onSaveInstanceState, bindView to onBindView and onModelRemoved to onDestroy. You may need to update your Models if you are overriding those methods.
6+
17
## 0.4.1(2016-01-22)
28

39
- Added ViewModelBaseEmptyActivity - which you can extend in case you don't need a ViewModel in your activity (but your fragments have ViewModels).

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,8 @@ Download
106106

107107
Grab via Gradle:
108108
```groovy
109-
compile 'eu.inloop:androidviewmodel:0.4.0'
109+
compile 'eu.inloop:androidviewmodel:1.0.0'
110110
```
111111

112112
Build and study sample application from source code or download from Google Play.<br/>
113113
[![](website/static/google_play.png)](https://play.google.com/store/apps/details?id=eu.inloop.viewmodel.sample)
114-
115-
<b>Development status:</b> Used internally at company on some production applications. Library is under development and API changes might occur anytime. But it should be usuable at this point without any big issues (like memory leaks).

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1818
# org.gradle.parallel=true
1919

20-
VERSION_NAME=0.4.1
20+
VERSION_NAME=1.0.0

0 commit comments

Comments
 (0)