RecyclerView remove animation bug

前端 未结 2 1012
忘了有多久
忘了有多久 2021-02-15 15:26

I have implemented a RecyclerView where I can add and delete items. I want the added item to be added on the second last position and, whenever I add a new item, th

2条回答
  •  滥情空心
    2021-02-15 15:58

    I already reported the problem through Google Issue Tracker here

    I hope we can get a fix soon! As you say It seems very related to a possible race condition between the measure updates for the recyclerview and the animation when your recyclerview is wrapping it's content to calculate it's height.

    This article explains the problem in a really detailed way also.

提交回复
热议问题