Skip to content

Releases: halcyonmobile/view-model-factory-generator

v1.1.2

23 Jul 19:07
Compare
Choose a tag to compare
fix publish path

Add possibility to define what should @Provided represent

11 Mar 08:54
Compare
Choose a tag to compare

From now on annotation Provided can represent either provided by dagger or manual.

In provided-by-dagger case everything annotated with Provided will be
expected to come from dagger while everything else comes from the build
function. That's still the default behaviour.

In provided-by-manual case everything annotated with @provided will be
expected to come from the build function while everything else should come
from dagger.

This was a requested issue:
#1

Support for SavedStateHandle

06 Mar 16:18
Compare
Choose a tag to compare

Feature

SavedStateHandle now can be used in the ViewModel constructor. For such case
AbstractSavedStateViewModelFactory is generated.
Incremental annotation processing flag is set

Bug Fix

Nested classes couldn't been injected via @provided

Notes

Tests are created to ensure the annotation processor works as expected