DGElasticPullToRefresh icon indicating copy to clipboard operation
DGElasticPullToRefresh copied to clipboard

request server

Open J-Arji opened this issue 9 years ago • 2 comments

hi I'm on a server with a lot of data is an array. I want whenever I applied for twenty data show in table view can i use plugin ??

J-Arji avatar May 07 '16 11:05 J-Arji

Hey, this library isn't what you're looking for, but if you're using a UITableView or UICollectionView you can call your code in the cellForItemAtIndexPath (or row, if you're using UITableView) method by checking if the indexPath is the last item of your datasource (or the n-th last item, depending on when you want to load more items). Just make sure you're doing asynchronous requests, so you're not blocking the creation of the cell.

niklaskorz avatar May 17 '16 09:05 niklaskorz

thank @niklaskorz :)

J-Arji avatar May 18 '16 10:05 J-Arji