标签:color selected site one div item code itemid none
override fun onCreateOptionsMenu(menu: Menu?): Boolean { menu?.add(Menu.NONE, 0, 0, "重新导入") return true } override fun onOptionsItemSelected(item: MenuItem?): Boolean { if (item?.itemId == 0) { MyLog.d("点击重新导入") return true } return super.onOptionsItemSelected(item) }
标签:color selected site one div item code itemid none
原文地址:https://www.cnblogs.com/H-BolinBlog/p/9228218.html