is it possible to inject ViewModel into another ViewModel with Hilt?
m
Manuel Vivo
06/23/2020, 2:02 PM
No, this is not possible as
@ViewModelInject
doesn’t create the same type of binding as `@Inject`; apart from that, I’d discourage doing that as ViewModels can have different lifecycles and you might be leaking data