diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreRvAdapter.java b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreRvAdapter.java index 6392aa48c3..5ce3eb023b 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreRvAdapter.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreRvAdapter.java @@ -63,7 +63,7 @@ public class ExploreRvAdapter extends RecyclerView.Adapter 0; i--) { + Object o = items.get(i); + if (o instanceof ArticleTravelCard) { + return i; + } + } + return 0; + } + private Object getItem(int position) { return items.get(position); }