问题
There is an app:items=""
attribute for RecyclerView, how is this attribute used with MVVM and android.arch.lifecycle.ViewModel
, not ViewModel that extends BaseObservable? items
could be LiveData, List or ObservableArrayList, with which collection should it be used?
来源:https://stackoverflow.com/questions/51078439/how-to-use-appitems-viewmodel-items-attribute-with-recyclerview-mvvm-and