Skip to content

2.2.0 - Support Hilt Scoped ViewModels with keys

Compare
Choose a tag to compare
@sebaslogen sebaslogen released this 25 Jul 10:12
· 549 commits to main since this release
  • Add support for the new Hilt ViewModel keyed factory thanks to Dagger 2.43: https://github.com/google/dagger/releases/tag/dagger-2.43
  • Fix support for multiple instances of the same ViewModel in one screen using hiltViewModelScoped(), thanks to fixes in Dagger 2.43
  • Add support for keyed ViewModel updates with hiltViewModelScoped(key = "my key")