I know this question was asked previously and the reply was to override onPrepareContextMenu()/onCreateContextMenu(). But I didnt understand and didnt get any solution for it. Please help me how to disable the context menu for particular ListView items.
I know this question was asked previously and the reply was to override onPrepareContextMenu()/onCreateContextMenu().
Share
Opening your context menu depends on your some logic. For example, in method onItemClick (in your listView) you should check content of your item and show or don’t show context menu. I don’t understand, why it’s problem for you?
UPDATE
}
May be it will help you… good luck…