{"action":"opened","issue":{"url":"https://api.github.com/repos/Malinskiy/SuperRecyclerView/issues/30","labels_url":"https://api.github.com/repos/Malinskiy/SuperRecyclerView/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/Malinskiy/SuperRecyclerView/issues/30/comments","events_url":"https://api.github.com/repos/Malinskiy/SuperRecyclerView/issues/30/events","html_url":"https://github.com/Malinskiy/SuperRecyclerView/issues/30","id":60636667,"number":30,"title":"OnMoreAsked not being called","user":{"login":"Peddro","id":739560,"avatar_url":"https://avatars.githubusercontent.com/u/739560?v=3","gravatar_id":"","url":"https://api.github.com/users/Peddro","html_url":"https://github.com/Peddro","followers_url":"https://api.github.com/users/Peddro/followers","following_url":"https://api.github.com/users/Peddro/following{/other_user}","gists_url":"https://api.github.com/users/Peddro/gists{/gist_id}","starred_url":"https://api.github.com/users/Peddro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peddro/subscriptions","organizations_url":"https://api.github.com/users/Peddro/orgs","repos_url":"https://api.github.com/users/Peddro/repos","events_url":"https://api.github.com/users/Peddro/events{/privacy}","received_events_url":"https://api.github.com/users/Peddro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-11T10:18:25Z","updated_at":"2015-03-11T10:18:25Z","closed_at":null,"body":"Hello. I'm making API calls to get more items as the user reaches the end of the page. That api call gives me 10 at a time. The problem is when the user reaches the end of the page the OnMoreAsked method is not being called. And I believe the problem is with the max number.\r\n\r\nCurrently I have the following:\r\n\r\n<com.malinskiy.superrecyclerview.SuperRecyclerView\r\n        xmlns:app=\"http://schemas.android.com/apk/res-auto\"\r\n        android:id=\"@+id/feed_item_recycler_view\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"match_parent\"\r\n        app:layout_empty=\"@layout/emptyview\"\r\n        app:layout_moreProgress=\"@layout/layout_progress\"/>\r\n\r\nmSuperRecyclerView.setupMoreListener(new OnMoreListener()\r\n        {\r\n            @Override\r\n            public void onMoreAsked(int numberOfItems, int numberBeforeMore, int currentItemPos)\r\n            {\r\n                Toast.makeText(getActivity(), \"Older items\", Toast.LENGTH_SHORT).show();\r\n            }\r\n        }, 10);\r\n\r\nI have tried with different numbers but it is never being triggered. Note: My list can have more then 10 items in it, it just fetches from the backend 10 at a time."}}