Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Removing an item from Listview causes all items below it to flash on Android

$
0
0

This only happens on Android, I have an animation that sets the height, margin, padding spacing of the StackView in the ViewCell and the Height of the ViewCell to 0. I even added a delay to make sure that the position of lower elements didn't change. And indeed, the elements below the removed element didn't change, but they all just flashed. The same happens when I move that itme to the end of the List. I've had to just hide the element instead of removing it. How can this be overcome? Or is there a way I can create a class that implements an Observable Collection, create a delete method that doesn't trigger the Collection Changed event? Thanks


Viewing all articles
Browse latest Browse all 91519

Trending Articles