Whenever selection changes the selectionChanged() of ListView is
called. Override the class ListView and override that method.

Agus.

On 4/14/08, WildLuka <[EMAIL PROTECTED]> wrote:
>
>  hi,
>
>  How am I supposed to determine whether an item in a listview has been
>  selected ? I have extended the BaseAdapter class and the methods
>  getSelectedItemId() and getSelectedItemPosition()  are not truly
>  reliable as they return 0 even though no selection has been made, thus
>  pointing to the very first item.  I need to perform operations on
>  those items and need a sure way of determining whether an item has
>  been selected.
>
>  many thanks in advance.
>
>  Luka
>
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to