Skip to content

Commit dd7fe18

Browse files
Anton111111sjudd
authored andcommitted
Fix don't start preload on open RecyclerView (without user intract) (#2996)
1 parent 7427a49 commit dd7fe18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/bumptech/glide/ListPreloader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class ListPreloader<T> implements AbsListView.OnScrollListener {
3333

3434
private int lastEnd;
3535
private int lastStart;
36-
private int lastFirstVisible;
36+
private int lastFirstVisible = -1;
3737
private int totalItemCount;
3838

3939
private boolean isIncreasing = true;

0 commit comments

Comments
 (0)