I have two questions;

1) I have a Spinner with several options provided by an ArrayAdapter
and have an onItemSelected listener on this Spinner. When selecting an
item from the spinner, I want to display another view (list-view) but
this method is unintentionally invoked upon initially displaying the
view. The list-view is therefore displayed upon startup of the
application.

It is possible to add a spinner-on-item-select listener that won't
fire upon initially displaying the view but only by the user selecting
an item?

2) is it possible to display a custom text upon initially displaying
the spinner (for example: "Select an item") without this text being
part of the itemlist?

regards,
Juan

--~--~---------~--~----~------------~-------~--~----~
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