2012/7/26 Mark Murphy <[email protected]>

> On Thu, Jul 26, 2012 at 8:44 AM, Evan Ruff <[email protected]> wrote:
> > Thanks for the response. Just to clarify, the getView in the adapter sets
> > the BUTTON? I thought that set the view for the actual menu of items?
>
> The SpinnerAdapter supplies both the View for the Spinner in the
> closed state and the Views for the rows in the pop-up list that
> appears when the Spinner is in the open state. That is why you need to
> supply two layout resources.
>

And to further clarify - it's getView() and getDropDownView() respectively.


>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.8 Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to