diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/travelcards/TravelNeededMapsCard.java b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/travelcards/TravelNeededMapsCard.java index 28636655bf..65a1562295 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/travelcards/TravelNeededMapsCard.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/travelcards/TravelNeededMapsCard.java @@ -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); + } } }