diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-05-05 15:49:38 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-05-05 15:49:38 +0300 |
commit | 7c341a632b9ce75b2d635cabcbb2628ce6bd2fbf (patch) | |
tree | 9492c6f4cb6f8039909d73c509fdce774e9af412 /app/src/main/java/it/niedermann | |
parent | ea53ba5cfbd2aa7cfafee00c8b0800cd8ac021c4 (diff) |
Renaming
Diffstat (limited to 'app/src/main/java/it/niedermann')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterDialogFragment.java | 2 | ||||
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterLabelsAdapter.java (renamed from app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterLabelAdapter.java) | 4 | ||||
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterLabelsFragment.java | 2 | ||||
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterUserFragment.java (renamed from app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterAssigneesFragment.java) | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterDialogFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterDialogFragment.java index b33b2a859..d0a55ac60 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterDialogFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterDialogFragment.java @@ -120,7 +120,7 @@ public class FilterDialogFragment extends BrandedDialogFragment { case 0: return new FilterLabelsFragment(); case 1: - return new FilterAssigneesFragment(); + return new FilterUserFragment(); case 2: return new FilterDueTypeFragment(); default: diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterLabelAdapter.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterLabelsAdapter.java index a7e379e27..096f0db9c 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterLabelAdapter.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterLabelsAdapter.java @@ -17,7 +17,7 @@ import it.niedermann.nextcloud.deck.model.Label; import it.niedermann.nextcloud.deck.util.ColorUtil; @SuppressWarnings("WeakerAccess") -public class FilterLabelAdapter extends RecyclerView.Adapter<FilterLabelAdapter.LabelViewHolder> { +public class FilterLabelsAdapter extends RecyclerView.Adapter<FilterLabelsAdapter.LabelViewHolder> { @NonNull private final List<Label> labels = new ArrayList<>(); @NonNull @@ -25,7 +25,7 @@ public class FilterLabelAdapter extends RecyclerView.Adapter<FilterLabelAdapter. @Nullable private final SelectionListener<Label> selectionListener; - public FilterLabelAdapter(@NonNull List<Label> labels, @NonNull List<Label> selectedLabels, @Nullable SelectionListener<Label> selectionListener) { + public FilterLabelsAdapter(@NonNull List<Label> labels, @NonNull List<Label> selectedLabels, @Nullable SelectionListener<Label> selectionListener) { super(); this.labels.addAll(labels); this.selectedLabels.addAll(selectedLabels); diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterLabelsFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterLabelsFragment.java index 155cc53bb..357f93cf9 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterLabelsFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterLabelsFragment.java @@ -33,7 +33,7 @@ public class FilterLabelsFragment extends Fragment implements SelectionListener< observeOnce(new SyncManager(requireContext()).findProposalsForLabelsToAssign(mainViewModel.getCurrentAccount().getId(), mainViewModel.getCurrentBoardLocalId()), requireActivity(), (labels) -> { binding.labels.setNestedScrollingEnabled(false); - binding.labels.setAdapter(new FilterLabelAdapter(labels, requireNonNull(filterViewModel.getFilterInformationDraft().getValue()).getLabels(), this)); + binding.labels.setAdapter(new FilterLabelsAdapter(labels, requireNonNull(filterViewModel.getFilterInformationDraft().getValue()).getLabels(), this)); }); return binding.getRoot(); diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterAssigneesFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterUserFragment.java index 1a4b37d0d..64bc1db1f 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterAssigneesFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/filter/FilterUserFragment.java @@ -20,7 +20,7 @@ import static it.niedermann.nextcloud.deck.persistence.sync.adapters.db.util.Liv import static it.niedermann.nextcloud.deck.util.DimensionUtil.dpToPx; import static java.util.Objects.requireNonNull; -public class FilterAssigneesFragment extends Fragment implements SelectionListener<User> { +public class FilterUserFragment extends Fragment implements SelectionListener<User> { private FilterViewModel filterViewModel; |