Instagram / IGListKit

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

How to call reloadData immediately? #1340

Open vzhang opened 5 years ago

vzhang commented 5 years ago

New issue checklist

General information

Debug information

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

How to call function reloadData immediately?

If I loaded data from cache, I want to render data immediately. But when I had a try ,I found handle data it costed a little time, and then call function reloadData. So it may took about 0.4 second to render collectionview. Is there any solution?

cltnschlosser commented 5 years ago

Take a look at IGListReloadDataUpdater may be more heavy handed than you need, but works for some use cases.