Following are the purposes of this repo
-
Showing how you can remove the need of context in ViewModels.
I. By using dependency injection and providing dependencies outside of viewModel.
II. By using sealed classes to show error messages so you dont need context to get strings. -
To show how you can clean you Activity/Fragment by not observing/collecting livedata/flow that are not needed to be
-
Basic MVVM with flow, stateflow, sharedflow
if this helps dont forget to star ⭐ ⭐ ⭐
Contact me on linkedin: Kashif Mehmood