Update ExploreRvAdapter.java
This commit is contained in:
parent
4064e1af98
commit
307b302899
1 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,8 @@ public class ExploreRvAdapter extends RecyclerView.Adapter<RecyclerView.ViewHold
|
||||||
this.neededMapsCard = card;
|
this.neededMapsCard = card;
|
||||||
if (isCardExists(getNeededMapsCardPosition(), TravelNeededMapsCard.TYPE)) {
|
if (isCardExists(getNeededMapsCardPosition(), TravelNeededMapsCard.TYPE)) {
|
||||||
updateNeededMapsCard(false);
|
updateNeededMapsCard(false);
|
||||||
|
} else {
|
||||||
|
addItem(getNeededMapsCardPosition(), card);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue