Open ujjwalagrawal17 opened 5 years ago
@ShridharGoel can you help us in dividing this issue into small parts. We can start with maybe 1 fragment.
@ujjwalagrawal17 Yes, sure.
Perhaps add one more layer, and use it for the Repository Pattern
And create some sort of Use Case
, between the Repository
and View Model
, to better / cleaner deal with data / changes, if it's necessary.
To further improvements, remove the view / view bindings
from activity / fragment
classes.
Replace the Presenters with ViewModels Replace the RetrofitProviders with Repository Remove the View binding interfaces where needed replace with data classes
Describe the feature you'd like
Advantages of using MVVM: https://www.youtube.com/watch?v=FrteWKKVyzI&t=874s