Hi,
Sorry for the late response.
Thanks for your answer, it works perfectly.

On Apr 25, 8:59 pm, Jason von Nieda <[EMAIL PROTECTED]> wrote:
> You can always get the currently selected item in the ListActivity
> with ListActivity.getSelectedItemPosition(). While preparing your
> options menu you could check the currently selected item and modify
> your menu as needed.
>
> On Apr 24, 5:17 pm,shaimailit<[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
> > I guess it's a newbie question (which i am... :)
>
> > I would like to know what list item is selected in different
> > procedures, and not only when it is being clicked (onListItemClick
> > method).
> > for example, during onPrepareOptionsMenu invocation.
> > How can this be achieved?
>
> > Thanks,
> > Shai- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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]
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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to