oncreate中对TabItem初始化失败 空指针

tabitem的监听方式有所区别 ,不能用findviewbyid ,应对外层的父控件进行item监听 :Toolbar 。setOnMenuItemClickListener 而后用switch case 进行处理便可web
相关文章
相关标签/搜索