Kulwinder Singh
12/29/2021, 9:48 AM@HiltViewModel
class AboutVM @Inject constructor(
private val profile: Profile,
) : ViewModel() {
...
}
How profile
can be passed ?
while creating viewmodel like below
val vm = hiltViewModel<AboutVM>()
Gumiku
12/29/2021, 10:33 AMArjun Achatz
12/29/2021, 6:01 PMArjun Achatz
12/29/2021, 6:02 PM