Releases: halcyonmobile/view-model-factory-generator
Releases · halcyonmobile/view-model-factory-generator
v1.1.2
Add possibility to define what should @Provided represent
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
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