mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
Notify adapter that data changed
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
c012c15e05
commit
295e35febd
1 changed files with 1 additions and 3 deletions
|
@ -562,11 +562,9 @@ public class FolderSyncActivity extends FileActivity implements FolderSyncAdapte
|
|||
|
||||
@Override
|
||||
public void onDeleteSyncedFolderPreference(SyncedFolderParcelable syncedFolder) {
|
||||
// TODO refresh recycler view
|
||||
|
||||
mSyncedFolderProvider.deleteSyncedFolder(syncedFolder.getId());
|
||||
|
||||
mAdapter.removeItem(syncedFolder.getSection());
|
||||
mAdapter.notifyDataSetChanged();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue