trubesv
09/09/2017, 3:47 PMandroid:visibility="@{adapter.itemCount > 0}
- a list_empty.xml layout with android:visibility="@{adapter.itemCount == 0}
The issue is that I have trouble linking the adapter
variable to the xmls 😕aidanvii
09/09/2017, 6:44 PMRecyclerView
and data binding, is keep a bindable collection in a view-modelList
, ObservableList
, ObservableArrayMap
, and SortedList
. The solution was very complex under the hood, I never managed to get it out there, fully tested with example code, but plan toapp:bind_collection="@{viewModel.observableList}"
trubesv
09/16/2017, 10:42 PM