Fix issue with blinking in recycler view

This commit is contained in:
Victor Shcherb 2018-05-16 22:50:18 +02:00
parent 6c0aa4abf5
commit 710a88936c

View file

@ -152,6 +152,7 @@ public class ExploreRvAdapter extends RecyclerView.Adapter<RecyclerView.ViewHold
if(nd != null) {
nd.updateView();
}
return;
}
int pos = getNeededMapsCardPosition();
if (neededMapsCardExists(pos)) {
@ -192,6 +193,7 @@ public class ExploreRvAdapter extends RecyclerView.Adapter<RecyclerView.ViewHold
if(dc != null) {
dc.updateProgresBar();
}
return;
}
int pos = getDownloadUpdateCardPosition();
if (downloadUpdateCardExists(pos)) {