Ran
|
Jobs
2
|
Files
105
|
Run time
10min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/Instagram/IGListKit/commit/6faddd99c">avoid layout before IGListAdapter scrollToObject Summary: * Issue: `[IGListAdapter scrollToObject ...]` currently calls `[collectionView layoutIfNeeded]` before scrolling which creates the current visible cells that will no longer be visible after the scroll. This causes perf issues when we scroll immediately after creating the view controller. * Fix: Instead of asking the layout object for the attributes, lets go throught the `UICollectionView`. So if the attributes are not ready, the `UICollectionView` will call `-prepareLayout`, return the attributes, but doesn't generate the cells just yet. Differential Revision: D17326459 fbshipit-source-id: </a><a class="double-link" href="https://github.com/Instagram/IGListKit/commit/745942225">745942225</a>
13813 of 14705 relevant lines covered (93.93%)
477.44 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|