Jason,
Is this what is called or referred as a "handler" in the documentation:

"MenuItem.setOnMenuItemClickListener."

Or is that a separate concept related to menu items?

Thanks
Satya

On Sat, Oct 4, 2008 at 2:09 AM, Jason Parekh <[EMAIL PROTECTED]> wrote:
> Yup, it has been removed.  The preferred approach is override
> onOptionsItemSelected, and do a 'switch' on the MenuItem's id.
>
> If you really want to create an anonymous inner class (similar to how many
> people used the Runnable previously), you can do so with the
> MenuItem.setOnMenuItemClickListener.
>
> jason
>
>
> On Fri, Oct 3, 2008 at 7:42 PM, Satya Komatineni
> <[EMAIL PROTECTED]> wrote:
>>
>> I see it in the description of of some menu methods as if a Runnable
>> is going to be called if one exists.
>>
>> However I don't see an "add" method adding a runnable to the menu item.
>>
>> Any thoughts
>>
>> Thanks
>> Satya
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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