]> git.ktnx.net Git - mobile-ledger.git/commitdiff
tighten visibility
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 21 May 2020 15:24:02 +0000 (18:24 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 21 May 2020 15:24:02 +0000 (18:24 +0300)
app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryAdapter.java

index a6566f17acca6ce6e7836832616ebe0b98008636..6923410bdc53a8c8ea311ae75d044ee631dd5058 100644 (file)
@@ -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;