Android Exception “The specified child already has a parent…”

后端 未结 1 598
忘了有多久
忘了有多久 2020-12-16 06:46

I m getting exception as follow. Can anybody help me?

06-16 11:32:48.237: ERROR/AndroidRuntime(9223): java.lang.IllegalStateException: The specified

相关标签:
1条回答
  • 2020-12-16 07:31

    A view can only have a single parent. The view that you are adding (I am guessing re-using) is already part of another view hierarchy. If you really want to reuse it (I would suggest you probably dont) then you have to detach it from its parent in its existing view hierarchy.

    whatever is returned by ECGField.get(0) is already in a view hierarchy.

    0 讨论(0)
提交回复
热议问题