Class AutoPageListFragmentView<A extends EndlessListAdapter,​V extends EndlessListView,​P extends EndlessListPresenter<V>>

    • Field Detail

      • mCurrentPage

        protected int mCurrentPage
    • Constructor Detail

      • AutoPageListFragmentView

        public AutoPageListFragmentView()
    • Method Detail

      • setListTotalEntries

        public void setListTotalEntries​(int totalItemCount)
        Sets the total entries in the list. This is used to determine if there are additional items to be added to the list.
        Parameters:
        totalItemCount - Total number of items that the list is expected to display.
      • loadMore

        public void loadMore​(int currentItemCount)
        Loads the next page of items. Which page to load next is determined by the passed integer - the number of items currently being displayed in the list.
        Parameters:
        currentItemCount - The count of items currently displayed in the list.