Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Thanks for the report. I was puzzled.
ra...@google.com <ra...@google.com> #3
The same for me. Android 4.0.4.
cl...@google.com <cl...@google.com> #4
This is intentional to reduce complexity of Spinner's API and implementation. Consider using a full-blown ListView in a dialog instead.
ap...@google.com <ap...@google.com> #6
I just spent 3 hours on this issue and I disagree that it is "working as intended". If you want to make developers happy, fail fast.
Spinner$DropDownAdapter wraps the client's adapter and shadows getItemViewType() and getViewTypeCount() and simply returns constants. This will never work as intended if the inner adapter has more view types.
I suggest the DropDownAdapter constructor asserts if adapter.getViewTypeCount() != 1.
Spinner$DropDownAdapter wraps the client's adapter and shadows getItemViewType() and getViewTypeCount() and simply returns constants. This will never work as intended if the inner adapter has more view types.
I suggest the DropDownAdapter constructor asserts if adapter.getViewTypeCount() != 1.
Description
Add a focus modifier to clickable() to make it focusable.