Another java.lang.IllegalArgumentException: parameter must be a descendant of this view

后端 未结 3 497
心在旅途
心在旅途 2021-02-06 08:59

Users are getting the following exception in my app on certain phones. I tried reproducing the error myself but couldn\'t . I searched through stack overflow for similar problem

3条回答
  •  孤独总比滥情好
    2021-02-06 09:25

    I was also getting the same error when Google TalkBack is turned on. In my case, I was inflating a view with the boolean attachToParent true.So by making it false worked for me.

提交回复
热议问题