I have a list view that loads data from 30 records every time that means the first hit list will have 30 items and then the view Click here and it will contain 60 items and so on. Now I want that after the click, the status of the more list will start from the position of 31 and the status of the second hit list should be 61. All values will be included in the list, but the initial position will be different on each click to see more.
Personally, as a user, I do not like this viewpoint much like Google Play's method is more user-friendly in my opinion: By reaching the end of the list, new items are automatically loaded, which makes it almost comfortable.
You can do this by adding an onscreen lighter to your list view and checking to find out whether the user reaches the end of the list and whether it is necessary to load more items. Update your adapter according to the results being loaded using an early AsyncTask.
Comments
Post a Comment