Fix for #308 part 2
This commit is contained in:
parent
59523d6a08
commit
ddc3b47dfa
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ public class VideoItemListFragment extends ListFragment {
|
||||||
int visibleItemCount, int totalItemCount) {
|
int visibleItemCount, int totalItemCount) {
|
||||||
if (mode != PRESENT_VIDEOS_MODE
|
if (mode != PRESENT_VIDEOS_MODE
|
||||||
&& list.getChildAt(0) != null
|
&& list.getChildAt(0) != null
|
||||||
&& list.getLastVisiblePosition() == list.getAdapter().getCount() - 2
|
&& list.getLastVisiblePosition() == list.getAdapter().getCount() - 1
|
||||||
&& list.getChildAt(list.getChildCount() - 1).getBottom() >= list.getHeight()) {
|
&& list.getChildAt(list.getChildCount() - 1).getBottom() >= list.getHeight()) {
|
||||||
long time = System.currentTimeMillis();
|
long time = System.currentTimeMillis();
|
||||||
if ((time - lastScrollDate) > 200
|
if ((time - lastScrollDate) > 200
|
||||||
|
|
Loading…
Reference in a new issue