经典指数          
原因
6671
浏览数
0
收藏数
 

在android中使用Menu时可能需要重写的方法有?
  • onCreateOptionsMenu()
  • onCreateMenu()
  • onOptionsItemSelected()
  • onItemSelected()

     举报   纠错  
 
切换
1 个答案

onCreateOptionsMenu:Initialize the

contents of the Activity's standard options menu

onCreateContextMenu、onCreatePanelMenu没有onCreateMenu

onOptionsItemSelected、onContextItemSelected没有onItemSelected

 
切换
撰写答案