mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-24 09:00:31 +00:00
Fix for #308 part 2
This commit is contained in:
parent
59523d6a08
commit
ddc3b47dfa
@ -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 New Issue
Block a user