安卓如何在 Fragment 中使用 findViewById

作者:vkvi 来源:ITPOW(原创) 日期:2018-1-23

法一、getView()

法二、在创建 Fragment 时将 view 保存下来,再利用 view.findViewById()

 

相关文章