mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-19 15:31:13 +01:00
Load catalogue with thumbnails
This commit is contained in:
@@ -28,6 +28,12 @@ public abstract class EndlessScrollListener implements AbsListView.OnScrollListe
|
||||
this.currentPage = startPage;
|
||||
}
|
||||
|
||||
public void resetScroll() {
|
||||
this.currentPage = 0;
|
||||
this.startingPageIndex = 0;
|
||||
this.loading = true;
|
||||
}
|
||||
|
||||
// This happens many times a second during a scroll, so be wary of the code you place here.
|
||||
// We are given a few useful parameters to help us work out if we need to load some more data,
|
||||
// but first we check if we are waiting for the previous load to finish.
|
||||
|
||||
Reference in New Issue
Block a user