erikjhordan-rey / People-MVVM

Sample created to practice MVVM and DataBinding in Android Applications.
https://erikjhordan-rey.github.io/blog/2015/12/15/ANDROID-databinding-android.html
668 stars 193 forks source link

Shouldn't ItemPeopleViewModel and DetailPeopleViewModel merge #9

Closed kellyrose0902 closed 7 years ago

kellyrose0902 commented 7 years ago

They have the same data, why you code it in 2 different file? It's can all be PeopleDataViewModel or sth, and whether if it's a recyclerview or a detail, the UI can read data from the same view model