From 3401750a61ef730644d9642d685a8543ecb7e142 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 21 May 2020 18:24:02 +0300 Subject: [PATCH] tighten visibility --- .../ui/account_summary/AccountSummaryAdapter.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryAdapter.java b/app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryAdapter.java index a6566f17..6923410b 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryAdapter.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryAdapter.java @@ -111,7 +111,7 @@ public class AccountSummaryAdapter notifyItemChanged(position); } } - void toggleChildrenOf(LedgerAccount parent, boolean hiddenToBe, int parentPosition) { + private void toggleChildrenOf(LedgerAccount parent, boolean hiddenToBe, int parentPosition) { int i = parentPosition + 1; try (LockHolder lh = Data.accounts.lockForWriting()) { for (int j = 0; j < Data.accounts.size(); j++) { @@ -126,8 +126,7 @@ public class AccountSummaryAdapter } } - class LedgerRowHolder extends RecyclerView.ViewHolder { - CheckBox selectionCb; + static class LedgerRowHolder extends RecyclerView.ViewHolder { TextView tvAccountName, tvAccountAmounts; ConstraintLayout row; View vTrailer; -- 2.39.5