diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java b/app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java index 2c2152b37789..0251d16d42bd 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java +++ b/app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java @@ -219,6 +219,7 @@ public int getItemPosition(@NonNull OCFile file) { return position; } + @SuppressLint("NotifyDataSetChanged") public void setFavoriteAttributeForItemID(String remotePath, boolean favorite, boolean removeFromList) { List filesToDelete = new ArrayList<>(); for (OCFile file : mFiles) {