Add method for updating "Maps you need" card
This commit is contained in:
parent
e8038dddf6
commit
c87bcf114f
1 changed files with 7 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue