Skip to content

Releases: inloop/AndroidViewModel

1.4.0

13 Feb 17:31
Compare
Choose a tag to compare

Migrate to AndroidX

1.3.4

02 Nov 07:49
Compare
Choose a tag to compare
  • Update Gradle plugin
  • Fix nullable annotation in getBinding()

1.3.3

21 Aug 10:45
Compare
Choose a tag to compare
  • Update dependencies (support, build tools, gradle)
  • Fix issue with viewmodels that use generic types

1.3.1

20 Feb 09:23
Compare
Choose a tag to compare

Critical issue fixed that was introduced two days ago in 1.3.0 - please update to 1.3.1 (issue is related to the new getViewOptional() method).

1.3.0

18 Feb 11:21
Compare
Choose a tag to compare

Added getViewOptional() method which is guaranteed to be non-null. It will return a dummy implemenation in case the View is not null.
Removed the need to override getViewModelClass, the ViewModel class is now automatically extracted from the ViewModel class definition.

1.2.3

04 Jan 12:07
Compare
Choose a tag to compare

Fix proguard settings.

1.2.2

02 Jan 16:39
Compare
Choose a tag to compare

Remove wrong jetbrains annotations import.

1.2.1

08 Dec 08:40
Compare
Choose a tag to compare
  • Added default (null) implementation of getViewModelConfig() to the ViewModelBaseActivity so you don't need to implement it for your Activities.

1.2.0

24 Nov 11:45
Compare
Choose a tag to compare
  • Added better support for FragmentStatePagerAdapter by adding ViewModelStatePagerAdapter.java.
  • Breaking change: Added removeViewModel() to IView. You don't need to make any changes if you are using the default ViewModelBaseFragment. Otherwise you need to implement this method and return null in case you don't need data binding.

1.1.0

24 Nov 07:14
Compare
Choose a tag to compare
  • Added support for data binding
  • Breaking change: Added getViewModelConfig() to IView. You don't need to make any changes if you are using the default ViewModelBaseFragment. Otherwise you need to implement this method and return null in case you don't need data binding.