Open giaur500 opened 6 years ago
Hi, I'm trying to figure out how to bind items with Android Data Binding. With regular spinner, I can use:
android:entries="@{user.categoryNames}" android:selectedItemPosition="@={user.selectedCategoryPosition}"
To eaisly bind items (list) and configure BindingAdapter for selection get/change. However, your spinner control does not expose required properties. Do you think there is any workaround?
Hi, I'm trying to figure out how to bind items with Android Data Binding. With regular spinner, I can use:
To eaisly bind items (list) and configure BindingAdapter for selection get/change. However, your spinner control does not expose required properties. Do you think there is any workaround?