DEV Community

Discussion on: Experimenting with Dagger Hilt

Collapse
 
karuneshpalekar profile image
Karunesh Palekar

Hey, So no need to Create ViewModel Factory ?
Hilt does it for us right?

Collapse
 
anandpushkar088 profile image
Pushkar Anand

Yes, Hilt does that under the hood. You only need to annotate the view model with @ViewModelInject

Collapse
 
karuneshpalekar profile image
Karunesh Palekar

Great Work !!