Closed sagariosdev closed 7 years ago
Okey so, I'm closing this issue right now. I understand and fixed it. simply increase infiniteScrollTriggerOffset value high to trigger event early.
Hey,
The formula is:
when = (contentSize - triggerOffset)
You would have to adjust the value per device. You can use screen bounds to calculate desired trigger offset.
Yeah, I had calculated triggered offset. Thanks. @pronebird
CustomInfiniteIndicator *indicator = [[CustomInfiniteIndicator alloc] initWithFrame:indicatorRect];
In my project collectionview scroll direction vertical is set. at a time I'm loading 48 cells and each row contains 3 cell so 16 rows filled with it also cell width height is SCREEN_WIDTH/3 ARE return
So if I running with device 5s then it must be triggered when scroll and reaching row 5 but it should not triggered until end of collection view scroll.