From 1043070d5f84dcdd09536b9338477b566b54950c Mon Sep 17 00:00:00 2001 From: Jonas Mayer Date: Thu, 11 Jan 2024 13:32:35 +0100 Subject: [PATCH] suppress warning Signed-off-by: Jonas Mayer --- .../java/com/owncloud/android/ui/adapter/OCFileListAdapter.java | 1 + 1 file changed, 1 insertion(+) 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) {