-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increasing TOTAL_PAGES stops scrolling #5
Comments
I also got the same problem. |
Please get size of your array list and set to TOTAL_PAGES . |
Class PaginationScrollListener edit as follows
|
I tried increasing the value of TOTAL_PAGES in MainActivity to 15. When I run the App after making this change, the App does not scroll to 2nd page.
After "Movie 10", the progress bar is shown endless.
What am I missing?
Part 2 of my requirement is I don't want to fix the TOTAL_PAGES. It should be dynamic based on the amount of data I have in Database. I want to use the scrolling until I reach the last record from my Database query which is returned via API. How can I achieve this?
The text was updated successfully, but these errors were encountered: