Group Group Group Group Group Group Group Group Group

Reuse Cell issue: collection view fetching all image from local

Hi,

I’ve fetching images from local for AllPhotos similar to Getting Started with PhotoKit | raywenderlich.com
And then I reloaded it in collection View. Here is some problem:

  • first time load the image position is not right. Some of the image got wrong position
  • after scrolling, some image position is messed up too

I’ve searched a lot place and found out this is some reuse cell issue. and one of the solution is to clean the old cell inside prepareForReuse func.(but seems this totally abandan reuse cell feature? and might be slow for large amount of data?)

Is there any way to handle reuse cell issue properly with large amount of data. for example 20000 locally image loading?

any one can help???