Instagram / IGListKit

A data-driven UICollectionView framework for building fast and flexible lists.
https://instagram.github.io/IGListKit/
MIT License
12.88k stars 1.54k forks source link

- (__kindof UICollectionViewCell *)cellForItemAtIndex:(NSInteger)index Not come #1491

Open HarrisHan opened 3 years ago

HarrisHan commented 3 years ago

General information

Debug information

# Please include debug logs using the following lldb command:
po [IGListDebugger dump]

When I Call [self.adapter reloadDataWithCompletion:nil] I just wanna every secionController can reload but cellForItemAtIndex: not coming? How can I fix this?

Condition:

  1. page with data list 1 count 4
  2. reload the page then data change to 5 I called [self.adapter reloadDataWithCompletion:nil]
  3. because cellForItemAtIndex: is not coming so the UI has many bug for not update

EveryOne know's how can I Fix this question?

HarrisHan commented 3 years ago

All the data is from http request

HarrisHan commented 3 years ago

But performUpdatesAnimated can fix this issue Is this a bug for reloadDataWithCompletion?

moonbeammm commented 3 years ago

me too

GG-beyond commented 2 years ago

how can fix this question?