-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spinner shows package name #37
Comments
Same problem. Can customize the view for dropdown, but selected item - only package name and getView never called in adapter |
0- The MaterialSpinner library is an awesome idea, especially if you rely on the concept of Live Validation (using setError for TextInputLayout, etc.).
1- My solution to the spinner selected item problem was to introduce a new interface for the items (not practical, but that was my bypass for using MaterialSpinner):
Then, inside
Then, feel free to use toDisplayString() in your custom adapter for the dropdown (or the other popups). 2- Since the MaterialSpinner is not technically an Android Spinner, the ListAdapter is not used as it would be used with a Spinner. I could not find a good solution for this as I am not sure a TextInputLayout (or even a TextInputEditText) allows to properly inflate views. |
Hi spinner shows package name when selecting an item. Can anyone help?
The text was updated successfully, but these errors were encountered: