Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old December 27th, 2011, 06:37 PM   #1 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamically change context menu, NOOB here!!

I am new in android developing and i'm facing a problem in changing dynamically the context menu options.

I have a listview and i would like the context menu options change depending on which listitem i long-pressed. I just dont know how to dynamically change the context menu options.

As far as i know there is the onPrepareOptionMenu() function...but i dont know how to use it


Any help would be appreciated

maktsak is offline  
Reply With Quote
Sponsors
Reply

Bookmarks

Tags
android, android layout, android listview


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 11:59 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo