From: Damyan Ivanov Date: Thu, 21 May 2020 15:24:02 +0000 (+0300) Subject: tighten visibility X-Git-Tag: v0.14.0~56 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=3401750a61ef730644d9642d685a8543ecb7e142;p=mobile-ledger.git tighten visibility --- 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;