diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/SavedArticlesTabFragment.java b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/SavedArticlesTabFragment.java index 7dcc90e032..e341cb572e 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/SavedArticlesTabFragment.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/SavedArticlesTabFragment.java @@ -58,8 +58,9 @@ public class SavedArticlesTabFragment extends BaseOsmAndFragment implements Wiki public void savedArticlesUpdated() { List newItems = getItems(); SavedArticlesDiffCallback diffCallback = new SavedArticlesDiffCallback(adapter.getItems(), newItems); + DiffUtil.DiffResult diffRes = DiffUtil.calculateDiff(diffCallback); adapter.setItems(newItems); - DiffUtil.calculateDiff(diffCallback).dispatchUpdatesTo(adapter); + diffRes.dispatchUpdatesTo(adapter); } private List getItems() {