Colton Idle
12/01/2021, 2:13 AMabstract class BaseViewModel() : ViewModel()
this BaseViewModel has a field
var userActionEvent: ((UserAction) -> Unit)? = null
I want to enforce that my composable always sets up the userActionEvent. How would I do this? I suppose I would typically just do this with a constructor arg for the VM, but I can't do that? (im using hilt).