Skip to content

Commit 89c9011

Browse files
author
Daniel Novak
committed
Increase version
1 parent e74f963 commit 89c9011

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.4.0(2016-01-19)
2+
3+
- The ViewModel instances are now kept within the Activity (onRetainCustomNonConfigurationInstance). All ViewModels in the activity (including fragment ViewModels) will be cleared if you leave the activity.
4+
- If you are not extending ViewModelBaseActivity and instead you are using your own implementation, then you need to update your base Activity. The ViewModelBaseActivity.onCreate() changed and the activity now implements IViewModelProver interface.
5+
16
## 0.3.2(2015-05-18)
27

38
Breaking changes:

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,9 @@ Download
106106

107107
Grab via Gradle:
108108
```groovy
109-
compile 'eu.inloop:androidviewmodel:0.3.2'
110-
```
111-
or Maven:
112-
```xml
113-
<dependency>
114-
<groupId>eu.inloop</groupId>
115-
<artifactId>androidviewmodel</artifactId>
116-
<version>0.3.2</version>
117-
</dependency>
109+
compile 'eu.inloop:androidviewmodel:0.4.0'
118110
```
111+
119112
Build and study sample application from source code or download from Google Play.<br/>
120113
[![](website/static/google_play.png)](https://play.google.com/store/apps/details?id=eu.inloop.viewmodel.sample)
121114

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.3.2
20+
VERSION_NAME=0.4.0

0 commit comments

Comments
 (0)