Skip to content

Releases: inloop/AndroidViewModel

1.4.0

Choose a tag to compare

@DanielNovak DanielNovak released this 13 Feb 17:31

Migrate to AndroidX

1.3.4

Choose a tag to compare

@DanielNovak DanielNovak released this 02 Nov 07:49
  • Update Gradle plugin
  • Fix nullable annotation in getBinding()

1.3.3

Choose a tag to compare

@DanielNovak DanielNovak released this 21 Aug 10:45
  • Update dependencies (support, build tools, gradle)
  • Fix issue with viewmodels that use generic types

1.3.1

Choose a tag to compare

@DanielNovak DanielNovak released this 20 Feb 09:23

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

Choose a tag to compare

@DanielNovak DanielNovak released this 18 Feb 11:21

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

Choose a tag to compare

@DanielNovak DanielNovak released this 04 Jan 12:07

Fix proguard settings.

1.2.2

Choose a tag to compare

@DanielNovak DanielNovak released this 02 Jan 16:39

Remove wrong jetbrains annotations import.

1.2.1

Choose a tag to compare

@DanielNovak DanielNovak released this 08 Dec 08:40
  • Added default (null) implementation of getViewModelConfig() to the ViewModelBaseActivity so you don't need to implement it for your Activities.

1.2.0

Choose a tag to compare

@DanielNovak DanielNovak released this 24 Nov 11:45
  • 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

Choose a tag to compare

@DanielNovak DanielNovak released this 24 Nov 07:14
  • 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.