Skip to content

Commit

Permalink
Fix don't start preload on open RecyclerView (without user intract) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton111111 authored and sjudd committed Mar 30, 2018
1 parent 7427a49 commit dd7fe18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ListPreloader<T> implements AbsListView.OnScrollListener {

private int lastEnd;
private int lastStart;
private int lastFirstVisible;
private int lastFirstVisible = -1;
private int totalItemCount;

private boolean isIncreasing = true;
Expand Down

0 comments on commit dd7fe18

Please sign in to comment.