fragment 创建optionsmenu

需要调用setHasOptionsMenu(true)

否则的话 onCreateOptionsMenu 方法不会执行

posted @ 2020-06-15 11:21  荣超  阅读(312)  评论(0编辑  收藏  举报