Reputation: 26822
I've been using this book as reference to creating my Blackberry application. So far I have a list of items and when I select one I get the side menu but next to my list item:
Just looking through my methods, I'm not sure which one causes this as I can remove the custom item (GetValue) from the Menu and it will still appear here when I select the list item!
I guess my question is, how can I stop this menu appearing and have a method fire instead? I can provide code if necessary but I don't know where to start with this one!
Thanks
Upvotes: 1
Views: 1004
Reputation: 5060
Can you show your code when invoking the method.
When I override the navigationClick method of the ListField class like in the code below it works properly. (no menu pops)
protected boolean navigationClick(int status, int time){
return true;
}
Upvotes: 2
Reputation: 2131
@ing0
You can override default menu by using OnMenu() method
public boolean onMenu(int i)
{
return false;
}
Upvotes: 2