<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.v7.widget.AppCompatSpinner
android:layout_width="match_parent"
android:layout_height="wrap_content"
bind:items="@{viewModel.spiinnerItems}" />
</android.support.design.widget.TextInputLayout>
Last active
February 20, 2019 13:29
-
-
Save MaartenS/e0dedf7f34afc62647db to your computer and use it in GitHub Desktop.
example usage of the AppCompatSpinner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@lectricas
items is the BindingAdapter name set on a public static method in a ViewModel class. spiinerItems is the 2nd parameter passed to that method.