diff options
Diffstat (limited to 'app/src')
22 files changed, 146 insertions, 17 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher/AccountSwitcherDialog.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher/AccountSwitcherDialog.java index 3b30e4563..98690e0ca 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher/AccountSwitcherDialog.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher/AccountSwitcherDialog.java @@ -1,5 +1,7 @@ package it.niedermann.nextcloud.deck.ui.accountswitcher; +import static it.niedermann.nextcloud.deck.persistence.sync.adapters.db.util.LiveDataHelper.observeOnce; + import android.app.Dialog; import android.net.Uri; import android.os.Bundle; @@ -29,8 +31,6 @@ import it.niedermann.nextcloud.deck.model.Account; import it.niedermann.nextcloud.deck.ui.MainViewModel; import it.niedermann.nextcloud.deck.ui.manageaccounts.ManageAccountsActivity; -import static it.niedermann.nextcloud.deck.persistence.sync.adapters.db.util.LiveDataHelper.observeOnce; - public class AccountSwitcherDialog extends DialogFragment { private AccountSwitcherAdapter adapter; @@ -98,6 +98,12 @@ public class AccountSwitcherDialog extends DialogFragment { .create(); } + @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + public static DialogFragment newInstance() { return new AccountSwitcherDialog(); } diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/EditBoardDialogFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/EditBoardDialogFragment.java index 79e29c08b..eff80cea6 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/EditBoardDialogFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/EditBoardDialogFragment.java @@ -1,5 +1,7 @@ package it.niedermann.nextcloud.deck.ui.board; +import static it.niedermann.nextcloud.deck.ui.branding.BrandingUtil.applyBrandToEditTextInputLayout; + import android.app.Dialog; import android.content.Context; import android.os.Bundle; @@ -22,8 +24,6 @@ import it.niedermann.nextcloud.deck.databinding.DialogTextColorInputBinding; import it.niedermann.nextcloud.deck.model.full.FullBoard; import it.niedermann.nextcloud.deck.ui.MainViewModel; -import static it.niedermann.nextcloud.deck.ui.branding.BrandingUtil.applyBrandToEditTextInputLayout; - public class EditBoardDialogFragment extends DialogFragment { private DialogTextColorInputBinding binding; @@ -90,6 +90,12 @@ public class EditBoardDialogFragment extends DialogFragment { return super.onCreateView(inflater, container, savedInstanceState); } + @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + public static DialogFragment newInstance(long boardId) { final DialogFragment dialog = new EditBoardDialogFragment(); diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/accesscontrol/AccessControlDialogFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/accesscontrol/AccessControlDialogFragment.java index 241fa6121..17f8e6891 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/accesscontrol/AccessControlDialogFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/accesscontrol/AccessControlDialogFragment.java @@ -99,6 +99,12 @@ public class AccessControlDialogFragment extends DialogFragment implements Acces } @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + + @Override public void updateAccessControl(AccessControl accessControl) { viewModel.updateAccessControl(accessControl, new IResponseCallback<>() { @Override diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/managelabels/EditLabelDialogFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/managelabels/EditLabelDialogFragment.java index 73a2bdf3e..b372e04c7 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/managelabels/EditLabelDialogFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/managelabels/EditLabelDialogFragment.java @@ -1,5 +1,7 @@ package it.niedermann.nextcloud.deck.ui.board.managelabels; +import static it.niedermann.nextcloud.deck.ui.branding.BrandingUtil.applyBrandToEditTextInputLayout; + import android.app.Dialog; import android.content.Context; import android.os.Bundle; @@ -13,8 +15,6 @@ import it.niedermann.nextcloud.deck.databinding.DialogTextColorInputBinding; import it.niedermann.nextcloud.deck.model.Label; import it.niedermann.nextcloud.deck.ui.branding.BrandedDialogFragment; -import static it.niedermann.nextcloud.deck.ui.branding.BrandingUtil.applyBrandToEditTextInputLayout; - public class EditLabelDialogFragment extends BrandedDialogFragment { private DialogTextColorInputBinding binding; @@ -72,6 +72,12 @@ public class EditLabelDialogFragment extends BrandedDialogFragment { .create(); } + @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + public static DialogFragment newInstance(@NonNull Label label) { final DialogFragment dialog = new EditLabelDialogFragment(); diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/managelabels/ManageLabelsDialogFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/managelabels/ManageLabelsDialogFragment.java index 8f778c749..34abebf8e 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/managelabels/ManageLabelsDialogFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/board/managelabels/ManageLabelsDialogFragment.java @@ -112,6 +112,12 @@ public class ManageLabelsDialogFragment extends BrandedDialogFragment implements } @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + + @Override public void applyBrand(int mainColor) { applyBrandToFAB(mainColor, binding.fab); applyBrandToEditTextInputLayout(mainColor, binding.addLabelTitleWrapper); diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/NewCardDialog.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/NewCardDialog.java index 466d4a2c6..6d6a5434d 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/NewCardDialog.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/NewCardDialog.java @@ -23,7 +23,6 @@ import androidx.fragment.app.DialogFragment; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModelProvider; -import it.niedermann.nextcloud.deck.DeckLog; import it.niedermann.nextcloud.deck.R; import it.niedermann.nextcloud.deck.api.IResponseCallback; import it.niedermann.nextcloud.deck.databinding.DialogNewCardBinding; @@ -155,6 +154,12 @@ public class NewCardDialog extends DialogFragment implements DialogInterface.OnC } @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + + @Override public void onClick(DialogInterface dialog, int which) { final boolean openOnSuccess; switch (which) { 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(); diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/attachments/previewdialog/PreviewDialog.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/attachments/previewdialog/PreviewDialog.java index bbe0dc8a1..52aa36128 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/attachments/previewdialog/PreviewDialog.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/attachments/previewdialog/PreviewDialog.java @@ -88,6 +88,7 @@ public class PreviewDialog extends DialogFragment { this.imageBuilder$.removeObservers(requireActivity()); this.title$.removeObservers(requireActivity()); super.onDestroy(); + this.binding = null; } public static DialogFragment newInstance() { diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsEditDialogFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsEditDialogFragment.java index 2f1ed7b09..b6f6df906 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsEditDialogFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsEditDialogFragment.java @@ -69,6 +69,12 @@ public class CardCommentsEditDialogFragment extends BrandedDialogFragment { return super.onCreateView(inflater, container, savedInstanceState); } + @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + public static DialogFragment newInstance(@NonNull Long commentLocalId, String message) { final var fragment = new CardCommentsEditDialogFragment(); final var args = new Bundle(); diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/projectresources/CardProjectResourcesDialog.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/projectresources/CardProjectResourcesDialog.java index 1a2803d7e..de9c3460c 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/projectresources/CardProjectResourcesDialog.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/projectresources/CardProjectResourcesDialog.java @@ -57,6 +57,12 @@ public class CardProjectResourcesDialog extends DialogFragment { } @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + + @Override public void onActivityCreated(@Nullable Bundle savedInstanceState) { final var adapter = new CardProjectResourceAdapter(viewModel, resources, requireActivity()); binding.getRoot().setAdapter(adapter); diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterDueTypeFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterDueTypeFragment.java index 5134498b2..ac23faf6c 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterDueTypeFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterDueTypeFragment.java @@ -18,12 +18,12 @@ import it.niedermann.nextcloud.deck.model.enums.EDueType; public class FilterDueTypeFragment extends Fragment implements SelectionListener<EDueType> { private FilterViewModel filterViewModel; + private DialogFilterDuedateBinding binding; @Nullable @Override public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { - - final var binding = DialogFilterDuedateBinding.inflate(requireActivity().getLayoutInflater()); + binding = DialogFilterDuedateBinding.inflate(requireActivity().getLayoutInflater()); filterViewModel = new ViewModelProvider(requireActivity()).get(FilterViewModel.class); @@ -34,6 +34,12 @@ public class FilterDueTypeFragment extends Fragment implements SelectionListener } @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + + @Override public void onItemSelected(EDueType item) { filterViewModel.setFilterInformationDraftDueType(item); } diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterUserFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterUserFragment.java index 708e2e541..59768de39 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterUserFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterUserFragment.java @@ -22,12 +22,12 @@ import it.niedermann.nextcloud.deck.ui.MainViewModel; public class FilterUserFragment extends Fragment implements SelectionListener<User> { private FilterViewModel filterViewModel; + private DialogFilterAssigneesBinding binding; @Nullable @Override public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { - - final var binding = DialogFilterAssigneesBinding.inflate(requireActivity().getLayoutInflater()); + binding = DialogFilterAssigneesBinding.inflate(requireActivity().getLayoutInflater()); final var mainViewModel = new ViewModelProvider(requireActivity()).get(MainViewModel.class); filterViewModel = new ViewModelProvider(requireActivity()).get(FilterViewModel.class); @@ -47,6 +47,12 @@ public class FilterUserFragment extends Fragment implements SelectionListener<Us } @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + + @Override public void onItemSelected(@Nullable User item) { if (item == null) { filterViewModel.setNotAssignedUser(true); diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/manageaccounts/ManageAccountsActivity.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/manageaccounts/ManageAccountsActivity.java index aec258d59..a843551c1 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/manageaccounts/ManageAccountsActivity.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/manageaccounts/ManageAccountsActivity.java @@ -1,5 +1,8 @@ package it.niedermann.nextcloud.deck.ui.manageaccounts; +import static it.niedermann.nextcloud.deck.DeckApplication.readCurrentAccountId; +import static it.niedermann.nextcloud.deck.persistence.sync.adapters.db.util.LiveDataHelper.observeOnce; + import android.content.Context; import android.content.Intent; import android.os.Bundle; @@ -13,9 +16,6 @@ import androidx.lifecycle.ViewModelProvider; import it.niedermann.nextcloud.deck.databinding.ActivityManageAccountsBinding; import it.niedermann.nextcloud.deck.model.Account; -import static it.niedermann.nextcloud.deck.DeckApplication.readCurrentAccountId; -import static it.niedermann.nextcloud.deck.persistence.sync.adapters.db.util.LiveDataHelper.observeOnce; - public class ManageAccountsActivity extends AppCompatActivity { private static final String TAG = ManageAccountsActivity.class.getSimpleName(); @@ -66,7 +66,13 @@ public class ManageAccountsActivity extends AppCompatActivity { public void onBackPressed() { onSupportNavigateUp(); } - + + @Override + protected void onDestroy() { + super.onDestroy(); + this.binding = null; + } + public static Intent createIntent(@NonNull Context context) { return new Intent(context, ManageAccountsActivity.class); } diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/movecard/MoveCardDialogFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/movecard/MoveCardDialogFragment.java index 19fc401c8..95b234439 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/movecard/MoveCardDialogFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/movecard/MoveCardDialogFragment.java @@ -98,6 +98,12 @@ public class MoveCardDialogFragment extends BrandedDialogFragment implements Pic } @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + + @Override public void onStackPicked(@NonNull Account account, @Nullable Board board, @Nullable Stack stack) { this.selectedAccount = account; this.selectedBoard = board; diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/pickstack/PickStackFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/pickstack/PickStackFragment.java index 35454d496..06b1eb44f 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/pickstack/PickStackFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/pickstack/PickStackFragment.java @@ -179,6 +179,12 @@ public class PickStackFragment extends Fragment { return binding.getRoot(); } + @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + /** * Updates the source of the given liveData and de- and reregisters the given observer. */ diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/settings/SettingsActivity.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/settings/SettingsActivity.java index f41a7592a..07df2ac20 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/settings/SettingsActivity.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/settings/SettingsActivity.java @@ -14,12 +14,14 @@ import it.niedermann.nextcloud.deck.ui.exception.ExceptionHandler; public class SettingsActivity extends AppCompatActivity { + private ActivitySettingsBinding binding; + @Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); Thread.currentThread().setUncaughtExceptionHandler(new ExceptionHandler(this)); - final var binding = ActivitySettingsBinding.inflate(getLayoutInflater()); + binding = ActivitySettingsBinding.inflate(getLayoutInflater()); setContentView(binding.getRoot()); setSupportActionBar(binding.toolbar); @@ -37,6 +39,12 @@ public class SettingsActivity extends AppCompatActivity { return true; } + @Override + protected void onDestroy() { + super.onDestroy(); + this.binding = null; + } + @NonNull public static Intent createIntent(@NonNull Context context) { return new Intent(context, SettingsActivity.class); diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/sharetarget/ShareProgressDialogFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/sharetarget/ShareProgressDialogFragment.java index fc093c471..26f37e88d 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/sharetarget/ShareProgressDialogFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/sharetarget/ShareProgressDialogFragment.java @@ -110,6 +110,12 @@ public class ShareProgressDialogFragment extends BrandedDialogFragment { requireActivity().finish(); } + @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + public static ShareProgressDialogFragment newInstance() { return new ShareProgressDialogFragment(); } diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/EditStackDialogFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/EditStackDialogFragment.java index 897969671..5888329b0 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/EditStackDialogFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/EditStackDialogFragment.java @@ -66,6 +66,12 @@ public class EditStackDialogFragment extends BrandedDialogFragment { return super.onCreateView(inflater, container, savedInstanceState); } + @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + public static DialogFragment newInstance() { return new EditStackDialogFragment(); } diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/StackFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/StackFragment.java index 0c32f0f3a..91b8df21b 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/StackFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/stack/StackFragment.java @@ -131,6 +131,12 @@ public class StackFragment extends Fragment implements DragAndDropTab<CardAdapte DeckApplication.readCurrentBoardColor().observe(getViewLifecycleOwner(), this::applyBrand); } + @Override + public void onDestroy() { + super.onDestroy(); + this.binding = null; + } + @Nullable @Override public CardAdapter getAdapter() { diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/takephoto/TakePhotoActivity.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/takephoto/TakePhotoActivity.java index 0bfddd76d..0ee0f0157 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/takephoto/TakePhotoActivity.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/takephoto/TakePhotoActivity.java @@ -169,6 +169,12 @@ public class TakePhotoActivity extends AppCompatActivity { } } + @Override + protected void onDestroy() { + super.onDestroy(); + this.binding = null; + } + public static Intent createIntent(@NonNull Context context) { return new Intent(context, TakePhotoActivity.class).setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); } diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/upcomingcards/UpcomingCardsActivity.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/upcomingcards/UpcomingCardsActivity.java index 9bfa165c4..a30d928c3 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/upcomingcards/UpcomingCardsActivity.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/upcomingcards/UpcomingCardsActivity.java @@ -24,6 +24,7 @@ import it.niedermann.nextcloud.deck.ui.movecard.MoveCardListener; public class UpcomingCardsActivity extends AppCompatActivity implements MoveCardListener { private UpcomingCardsViewModel viewModel; + private ActivityUpcomingCardsBinding binding; @Override protected void onCreate(@Nullable Bundle savedInstanceState) { @@ -31,7 +32,7 @@ public class UpcomingCardsActivity extends AppCompatActivity implements MoveCard Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler(this)); - final var binding = ActivityUpcomingCardsBinding.inflate(getLayoutInflater()); + binding = ActivityUpcomingCardsBinding.inflate(getLayoutInflater()); viewModel = new ViewModelProvider(this).get(UpcomingCardsViewModel.class); setContentView(binding.getRoot()); @@ -83,6 +84,12 @@ public class UpcomingCardsActivity extends AppCompatActivity implements MoveCard }); } + @Override + protected void onDestroy() { + super.onDestroy(); + this.binding = null; + } + @NonNull public static Intent createIntent(@NonNull Context context) { return new Intent(context, UpcomingCardsActivity.class) diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/filter/FilterWidgetConfigurationActivity.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/filter/FilterWidgetConfigurationActivity.java index 102860d7c..49d731108 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/filter/FilterWidgetConfigurationActivity.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/widget/filter/FilterWidgetConfigurationActivity.java @@ -64,4 +64,10 @@ public class FilterWidgetConfigurationActivity extends AppCompatActivity { finish(); }); } + + @Override + protected void onDestroy() { + super.onDestroy(); + this.binding = null; + } } |