diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-04-25 21:31:04 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-04-25 21:31:04 +0300 |
commit | 1ba47f7c9a795d6c212e26332fd0e03f07e2b701 (patch) | |
tree | 694c64faf32c1e7542b93d432d39225136a36dba /app/src/main/java/it/niedermann/nextcloud/deck/ui/stack | |
parent | 330809dfd2864a01a6f47efefa31bb0facfd49fe (diff) | |
parent | 2b402805a2c6514cf7a3da8db6df0f6a6e09179e (diff) |
Merge branch 'master' into inflate-mainviewmodel
# Conflicts:
# app/src/main/java/it/niedermann/nextcloud/deck/ui/MainActivity.java
# app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/StackAdapter.java
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/ui/stack')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/StackAdapter.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/StackAdapter.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/StackAdapter.java index 7ab14a6c3..e2cc83372 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/StackAdapter.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/StackAdapter.java @@ -49,7 +49,8 @@ public class StackAdapter extends FragmentStateAdapter { } public void setStacks(@NonNull List<FullStack> fullStacks) { - this.stackList = fullStacks; + this.stackList.clear(); + this.stackList.addAll(fullStacks); notifyDataSetChanged(); } }
\ No newline at end of file |