diff options
author | Stefan Niedermann <info@niedermann.it> | 2022-01-10 12:57:23 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2022-01-10 12:57:23 +0300 |
commit | f1e674634b6d62e1357a48b7827d84f5d6fcf600 (patch) | |
tree | 66a6c46f660de423a6771ac94acb93f63b2ab0da /app/src/main/java/it/niedermann/nextcloud/deck/ui/card/assignee/CardAssigneeDialog.java | |
parent | 4d6958e057c9ec94aa10f78cc77be1e880043a99 (diff) |
Reset bindings to null onDestroy
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/ui/card/assignee/CardAssigneeDialog.java')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/card/assignee/CardAssigneeDialog.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/assignee/CardAssigneeDialog.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/assignee/CardAssigneeDialog.java index 8ee2c6318..6a15a4f6c 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/assignee/CardAssigneeDialog.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/assignee/CardAssigneeDialog.java @@ -98,6 +98,12 @@ public class CardAssigneeDialog extends DialogFragment { binding.title.setText(user.getDisplayname()); } + @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + public static DialogFragment newInstance(@NonNull User user) { final var fragment = new CardAssigneeDialog(); final var args = new Bundle(); |