This PR creates a sample app that uses Anvil and has a @ContributesViewModel code generator to let Anvil do all of the wiring necessary to do constructor injection for ViewModels. It also demonstrates how to handle Dagger subcomponents including those owned by Fragments/features.
This PR creates a sample app that uses Anvil and has a
@ContributesViewModel
code generator to let Anvil do all of the wiring necessary to do constructor injection for ViewModels. It also demonstrates how to handle Dagger subcomponents including those owned by Fragments/features.