Fix crash
This commit is contained in:
parent
0762c6cf63
commit
7f679035f4
1 changed files with 5 additions and 3 deletions
|
@ -72,9 +72,11 @@ public class TravelNeededMapsCard extends BaseTravelCard {
|
|||
}
|
||||
|
||||
public void updateView() {
|
||||
NeededMapsVH holder = ref.get();
|
||||
if (holder != null && holder.itemView.isShown()) {
|
||||
updateView(holder);
|
||||
if (ref != null) {
|
||||
NeededMapsVH holder = ref.get();
|
||||
if (holder != null && holder.itemView.isShown()) {
|
||||
updateView(holder);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue