1

so usually I use collectionView.reloadData() to update all data available, it will reload data in all the cells. But I need to update only particular cell on my collection view, so I use collectionView.reloadItems(at: [selectedIndexPath])

but it seems so slow like the gif file in here: http://g.recordit.co/3z14J3bR7X.gif

as you can see, the thumb icon seems as if have 'animation' with duration 0.2s, it seems slow, even though I don't have it on my code. I want to get rid of that 'animation effect' if I use collectionView.reloadItems(at: [selectedIndexPath])

If I change using collectionView.reloadData() that 'animation effect' does not appear, but for some reasons, I can't use collectionView.reloadData()

so, how to solve this issue, why this happen ?

Alexa289
  • 4,133
  • 5
  • 32
  • 81

0 Answers0