chrisbanes/Android-PullToRefresh — Issue #17: OnLastItemVisibleListener does not fire event
Author: gingo
Created: 2012-01-13 17:48:23+00:00
State: open

Hi,

first of all, thank you very much for your work!

Now the issue. I have PullToRefreshGridView in my app with 20 items loaded on start. Items are aranged in 5 lines and 4 columns. Only half of last line is out of screen after start. When I scroll down the onLastItemVisible event is not fired, even if I to the end of grid.

The problem is in this condition "visibleItemCount < totalItemCount" in method onScroll, which does not pass, becouse visibleItemCount is 20 as well as totalItemCount. What this condition address?