Android databinding in an expandable listview
问题 I have a very specific Question. I am using the android databinding library: https://developer.android.com/topic/libraries/data-binding/index.html I have a datamodel like this: Class Participant Public String Name; //and so on Public ObservableArrayList<Drink> DrinkList; End Class Class Drink extends BaseObservable @Bindable Public String Name; @Bindable Public Float Price; End Class ViewModel: Class ParticipantList public ObservableArrayList<Participant> list = new ObservableArrayList<>(); /