Inflate子view之后使用findViewById = null

情况:

MyView extends View 之后构造函数使用inflate导入子view 然后使用findViewById=null

解决:

项目clean。

 

奇怪的问题!!

posted @ 2015-06-15 11:45  pandans  阅读(261)  评论(0编辑  收藏  举报