Skip to content

Releases: stanwood/framework-arch-android

0.7.0

11 Oct 11:36
9a606b7
Compare
Choose a tag to compare

Updated dependencies :
androidx.lifecycle:lifecycle-extensions:2.1.0
androidx.navigation:navigation-fragment-ktx:2.1.0
androidx.navigation:navigation-ui-ktx:2.1.0
io.reactivex.rxjava2:rxkotlin:2.4.0
io.reactivex.rxjava2:rxandroid:2.1.1
breaking: com.google.dagger🗡2.24

0.6.0

18 Apr 13:29
320b31e
Compare
Choose a tag to compare
  • Breaking: Support for ID based as well as back and up navigation via NavigationTarget
  • Bump AGP to 3.4 and Kotlin to 1.3.30
  • Sync navigation destination back to NavigationView (see extensions in NavigationViewExtensions)

0.5.0

08 Apr 10:33
9a102e0
Compare
Choose a tag to compare

Updated to navigation component 2.0.0

0.4.0

06 Mar 21:00
ae7a9c2
Compare
Choose a tag to compare
  • Refactored Resource

0.3.0

11 Feb 11:28
3248e95
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release

TODO

0.3

11 Feb 11:27
3248e95
Compare
Choose a tag to compare
0.3 Pre-release
Pre-release

TODO

0.2.0

05 Dec 13:56
4a21199
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release
  • Behaviour changing fix: The ViewModelProviderFactory now returns a new ViewModel instance every time create() is called instead of using the same instance over and over again. This is actually the intended behaviour as the Android ViewModelProvider takes care of caching instances for us and when calling create() we really always want a new instance.

This can change behaviour in your apps quite dramatically if you depend on the ViewModel being retained even after the Fragment/Activity has been (not by orientation change!) destroyed (but the application process is still living).

Additional clearing handling of ViewModels should thus not be necessary anymore. If you want to reset your ViewModel during the lifecycle of a Fragment/Activity use Fragment/Activity.viewModelStore.clear().

There will be more thorough documentation on resetting ViewModels later on in this repository.

0.1.0

08 Nov 14:32
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

First version, includes dagger helper classes and extensive documentation on how to properly set up and use dagger in your project.