I have a custom bound MvxSpinner that works great with a ViewModel that's shared between my Android and iOS apps. On Android API Level 15 (4.0.3) and above everything looks great, but on Android API Level 14 (4.0) the spinner displays blank text for each ListItem element. The ListItems are there, but the Text is just blank. When I make a selection on Android 4.0 the proper value is passed back to the ViewModel for the selected item, and my app updates accordingly.
Are there any known bugs with MxvSpinner on Android 4.0?
Here's the XML for my MvxSpinner:
<MvxSpinner
style="@style/spinner_input"
local:MvxItemTemplate="@layout/item_spinner"
local:MvxDropDownItemTemplate="@layout/item_spinnerdropdown"
local:MvxBind="ItemsSource ProductCategoryOptions; SelectedItem SelectedProductCategory" />
And here are my templates:
item_spinner
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:local="http://schemas.android.com/apk/res-auto"
android:singleLine="true"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/black"
android:text="Test"
local:MvxBind="Text Caption" />
Item_SpinnerDropDown
<CheckedTextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:local="http://schemas.android.com/apk/res-auto"
style="?android:attr/spinnerDropDownItemStyle"
android:singleLine="true"
android:layout_width="match_parent"
android:layout_height="match_parent"
local:MvxBind="Text Caption" />