Error using the RecyclerView: The specified child already has a parent

前端 未结 6 470
眼角桃花
眼角桃花 2020-12-08 13:16

I am trying to create a listView with a new RecyvlerView Adapter. I have followed the exact guide present on android developer resources. But this is giving me a strange err

6条回答
  •  自闭症患者
    2020-12-08 13:27

    It happens too if you scroll really fast your recyclerview. My case was inserting/moving/... items with DiffUtils and calling TransitionManager.beginDelayedTransition(view) on the root layout (and so, the recyclerview) somewhere in my code before the end of recyclerview animations

提交回复
热议问题