[android-beginners] Re: onCreateContextMenu ListView Confusion

2009-07-15 Thread Sikus
> getSelectedItem(), getSelectedItemId(), and getSelectedView() should all > work, called on your ListView. Can anybody help me with this method in onCreateContextMenu (ContextMenu menu, View v, ContextMenuInfo menuInfo) method? I don't know how recognize selected item because this method return

[android-beginners] Re: onCreateContextMenu ListView Confusion

2009-06-29 Thread Sikus
theDigitalAngel: When you do ListView, you must extend ListActivity. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To

[android-beginners] Re: onCreateContextMenu ListView Confusion

2009-06-16 Thread Sikus
On 26 kvÄ›, 01:48, Mark Murphy wrote: > getSelectedItem(), getSelectedItemId(), and getSelectedView() should all > work, called on your ListView. I try this : @Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { super.onCreateCon

[android-beginners] Re: onCreateContextMenu ListView Confusion

2009-05-25 Thread Sikus
Is there any way how can I find out item selected in onCreateContextMenu method? I need show or hide items in the context menu according to item in ListView. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Be