I do it a little differently. My arch `ViewModel` ...
# android-architecture
t
I do it a little differently. My arch
ViewModel
and presenter are different classes. The arch
ViewModel
is only used for holding onto the presenter instance. I have a delegated property function so I can just write
val presenter by retained { component.providePresenter() }
. the
ViewModel
has a map with values associated to the property name