I am working on ionic framework for app development. I can fetch the list of customer from db but list is large that's why i want to load that list slowly like want to display data in some portion then again display next data like Lazy loading can anyone please suggest me the various options for this or any links or examples for my problem
thanks in advance
I am working on ionic framework for app development. I can fetch the list of customer from db but list is large that's why i want to load that list slowly like want to display data in some portion then again display next data like Lazy loading can anyone please suggest me the various options for this or any links or examples for my problem
thanks in advance
Share Improve this question edited Feb 28, 2016 at 11:08 Mudasser Ajaz 6,2571 gold badge27 silver badges29 bronze badges asked Aug 27, 2015 at 16:45 Rohit DeshmukhRohit Deshmukh 3842 gold badges5 silver badges14 bronze badges1 Answer
Reset to default 5Use ionic infinite scroll, it is used to handle pagination , here is documentation for the infinite scroll https://ionicframework./docs/v1/api/directive/ionInfiniteScroll/
Here is a good link for practical understanding: http://sunnycyk./2014/02/ionic-framework-infinite-scrolling/
Purpose of ionic infintie scroll is to load only that amount of items which fit to screen, and scroll to load more.The ionInfiniteScroll directive allows you to call a function whenever the user gets to the bottom of the page or near the bottom of the page.