gblancogarcia/GBInfiniteScrollView — pull request #31 by phatmann (2014-09-22 20:37:35+00:00)
Title: Setting pageIndex now works correctly in all cases

Fixed lastPageIndex so it does not return MAXINT when there are no pages. The reloadData method now updates the number of pages before it updates the current page index.