Add method for updating "Maps you need" card

This commit is contained in:
Alex Sytnyk 2018-05-07 15:24:17 +03:00
parent e8038dddf6
commit c87bcf114f

View file

@ -143,6 +143,13 @@ public class ExploreRvAdapter extends RecyclerView.Adapter<RecyclerView.ViewHold
}
}
public void updateNeededMapsCard() {
int pos = getNeededMapsCardPosition();
if (neededMapsCardExists(pos)) {
notifyItemChanged(pos);
}
}
public void removeNeededMapsCard() {
int pos = getNeededMapsCardPosition();
if (neededMapsCardExists(pos)) {