robnik
12/16/2020, 11:19 PMval model: ContactSellerViewModel by viewModel()
Any ideas?robnik
12/16/2020, 11:20 PMprivate class ContactSellerViewModel: ViewModel() { ...
Sinan Gunes
12/17/2020, 2:27 AMprivate
?robnik
12/17/2020, 2:07 PMprivate
, but I get the same error.Sinan Gunes
12/17/2020, 2:27 PMval model by viewModel<ContactSellerViewModel>()
?robnik
12/17/2020, 2:30 PMrobnik
12/17/2020, 3:29 PMviewModel(VM::class.java, key, factory)
but that first param just Object
, not my class. I guess I will manually create my models for now, like: val model = remember { MyViewModel() }
.