findViewById not working for an include?

后端 未结 7 1267
终归单人心
终归单人心 2020-11-27 06:05

I have an include like:


The include layout looks like (te

7条回答
  •  北海茫月
    2020-11-27 06:15

    I found the answer to this problem.

    This problem arises when we set both the Incloud ID and the first inner layer.

    I used merge to solve the problem.

     
    

    and in layout_stories

    
    
     ...
    
    
    

提交回复
热议问题