We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da39e0f commit 38e5f29Copy full SHA for 38e5f29
app/src/main/java/com/perflyst/twire/activities/main/LazyMainActivity.java
@@ -35,8 +35,7 @@ public void refreshElements() {
35
new Handler().postDelayed(() -> {
36
setCurrentOffset(0);
37
getRecyclerView().scrollToPosition(0);
38
- GetVisualElementsTask<T> getTopGamesTask = new GetVisualElementsTask<>(LazyMainActivity.this);
39
- getTopGamesTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
+ mOnScrollListener.resetAndFetch(getRecyclerView());
40
}, duration);
41
}
42
0 commit comments