What the actual meaning `Caused by: java.lang.RuntimeException: view must have a tag`?

后端 未结 9 2013
轮回少年
轮回少年 2021-02-20 06:25

Please inform me if knowing whats tag that wanted.

Caused by: java.lang.RuntimeException: view must have a tag

__BaseActivity.java

          


        
9条回答
  •  深忆病人
    2021-02-20 06:54

    Usually happens while learning about data binding in android, we usually use a main_activity.xml and then include content_main.xml but we by mistake put the tag in content file. We need to put this and tag in parent file that is used in setContentView()

提交回复
热议问题