First item is not shown when added app:ms_hint attribute
See original GitHub issueI have 5 items on my list but only the last 4 items are shown on the spinner.
This is my code from my xml file:
<com.jaredrummler.materialspinner.MaterialSpinner
android:id="@+id/spinner_home_team"
android:layout_width="125dp"
android:layout_height="wrap_content"
app:ms_hint="@string/spinner_hint_select_team"
app:ms_hint_color="@color/gray"
app:ms_text_color="@color/colorPrimary"
app:ms_dropdown_max_height="200dp"/>
The issue happens when I added a hint to app:ms_hint
attribute. The first item is not always shown.
However, if I select an item from the spinner, then I can see the first item on the list.
I think it only happens when the hint text is shown in the spinner.
With hint:
Without hint:
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:15 (5 by maintainers)
Top Results From Across the Web
Error when calling .setAttribute() on element's first child
The first child of the DIV is a text node containing the empty space before the P elements. ... This explicitly selects the...
Read more >Yes/No attribute value is not shown on a product details page
Navigate to the backend. Go to Stores -> Attributes -> Product; Click on the Add New Attribute button; Set "Catalog Input Type for...
Read more >How To Solve Missing Product Attribute Issue | CTX Feed
In this video, you will learn how to solve the missing product attribute issue to get your recently added attributes into the feed ......
Read more >Work with attribute values - NVivo 11 for Windows Help
Add attribute values · In List View, select the attribute—click the show icon to see the attributes for a classification. · On the...
Read more >btnSubmit.Attributes.Add("onclick", "alert('you')") - MSDN
User-364111071 posted. Hi,. I am confused. Figure (1) code works as expected, it populate the label and show the dialog box with an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
download this version of the library as a zip and import it as a module in your android studio. https://github.com/jaredrummler/MaterialSpinner/tree/a514f4d7f48156c9f384bf0e844afb59d1218992
Wow I’m surprised that this was 2 days ago! Thanks a lot for fixing it.