This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
正如标题所说,我正在尝试使用该menu.add()方法将项目添加到菜单中。用于此的参数是:menu.add(int groupId, int itemId, int order, int titleRES). 文档说,groupId如果不需要,则可以将order值归因于它们。NONE然而,Eclipse 不会接受 NONE 作为有效的整数值。