阅读背景:

第一次打开菜单时,果冻豆不会调用prepareoptionsmenu ()

来源:互联网 

I'm overriding onPrepareOptionsMenu to hide and show menu items. When testing it with the API level 16 emulator; onPrepareOptionsMenu is not called when opening the menu for the first time. But when i reopen the menu it works. The problem is only with the first usage. You can simple test it with this;I'm overriding onPrepareOptionsMenu to hide and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: