As the title says, I’m trying to add an item to a menu using the menu.add() method. The args for this are: menu.add(int groupId, int itemId, int order, int titleRES). The docs say that for groupId and order the value NONE can be attributed to them if they are not required. Eclipse won’t accept NONE as a valid integer value however.
Can anyone help me with this?
There’s not much point posting a code snippet!
1 Answer