basshelal / Waqti

Android app for a Kanban board time management system similar to Trello
MIT License
35 stars 7 forks source link

Use ViewModels for each Fragment wherever possible #100

Open basshelal opened 5 years ago

basshelal commented 5 years ago

This is for scalability purposes as well as overall readability. The ViewModel will actually be more of a function caller rather than a state holder but still, it's better to make the Fragment in charge of only the frontend related actions and delegate all backend actions to the ViewModel or someone else.