Github user therajanmaurya commented on a diff in the pull request: https://github.com/apache/incubator-taverna-mobile/pull/18#discussion_r68701369 --- Diff: app/src/main/java/org/apache/taverna/mobile/ui/adapter/EndlessRecyclerOnScrollListener.java --- @@ -28,7 +28,7 @@ private int previousTotal = 0; // The total number of items in the dataset after the last load private boolean loading = true; // True if we are still waiting for the last set of data to // load. - private int visibleThreshold = 1; // The minimum amount of items to have below your current + private int visibleThreshold = 5; // The minimum amount of items to have below your current --- End diff -- initialize visibleThreshold = 1 because we don't want to API Request till that user will reach to the last element
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---