Why do I have this idea, because I want to encapsulate the displacement animation of adding and removing elements in the listview, but the engine will have to change its position.
Maybe don’t remove it immediately. Set it to invisible so it still takes space, animate its size so the elements around it shift as needed. Once the collapsing animation is finished, remove it. Never tried it but should work.