Lou Morda09/25/2019, 7:21 PM
Kris Wong09/25/2019, 7:28 PM
Lou Morda09/25/2019, 7:31 PM
Erik Christensen09/25/2019, 10:09 PM
alex00909/26/2019, 1:06 AM
Lou Morda10/02/2019, 8:43 PM
where the ViewModel is the android jetpack viewmodel and has very little logic but keeps all of the state, and the SharedViewModel would be an interface that would contain all of the logic and have zero state.
UsersViewModel: ViewModel(), SharedViewModel
clhols12/09/2019, 9:18 PM
It just complains about the override of onCleared(), so you can add
class UsersViewModel: ViewModel(), SharedViewModel by SharedViewModelImpl()
to ignore that.