1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 06:37:30 +00:00
This commit is contained in:
Ammar Githam 2020-11-19 18:52:40 +09:00
parent 41e5fecbea
commit cc930c65b7

View File

@ -283,9 +283,13 @@ public class PostsRecyclerView extends RecyclerView {
}
public void refresh() {
lazyLoader.resetState();
postFetcher.reset();
postFetcher.fetch();
if (lazyLoader != null) {
lazyLoader.resetState();
}
if (postFetcher != null) {
postFetcher.reset();
postFetcher.fetch();
}
dispatchFetchStatus();
}