X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Fui%2Ftransaction_list%2FTransactionRowHolder.java;h=a39fb9fd1eeffef3dd956ca7a72215e32d5ee55a;hb=b59786713721fa7d02cf1b4368231ec507e4e28a;hp=73dd3168f51bd2c0e591c7986a6af39d0e1c7a2d;hpb=6f8d7eb0ab9e5754047ac5bda47868860b5f71e2;p=mobile-ledger-staging.git
diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionRowHolder.java b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionRowHolder.java
index 73dd3168..a39fb9fd 100644
--- a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionRowHolder.java
+++ b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionRowHolder.java
@@ -1,52 +1,52 @@
/*
* Copyright © 2019 Damyan Ivanov.
- * This file is part of Mobile-Ledger.
- * Mobile-Ledger is free software: you can distribute it and/or modify it
+ * This file is part of MoLe.
+ * MoLe is free software: you can distribute it and/or modify it
* under the term of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opinion), any later version.
*
- * Mobile-Ledger is distributed in the hope that it will be useful,
+ * MoLe is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License terms for details.
*
* You should have received a copy of the GNU General Public License
- * along with Mobile-Ledger. If not, see .
+ * along with MoLe. If not, see .
*/
package net.ktnx.mobileledger.ui.transaction_list;
-import android.support.annotation.NonNull;
-import android.support.constraint.ConstraintLayout;
-import android.support.v7.widget.CardView;
-import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
+import androidx.annotation.NonNull;
+import androidx.cardview.widget.CardView;
+import androidx.constraintlayout.widget.ConstraintLayout;
+import androidx.recyclerview.widget.RecyclerView;
+
import net.ktnx.mobileledger.R;
class TransactionRowHolder extends RecyclerView.ViewHolder {
TextView tvDescription;
+ TextView tvComment;
LinearLayout tableAccounts;
ConstraintLayout row;
ConstraintLayout vDelimiter;
CardView vTransaction;
TextView tvDelimiterMonth, tvDelimiterDate;
- View vDelimiterLine, vDelimiterThick;
- View vTrailer;
+ View vDelimiterThick;
public TransactionRowHolder(@NonNull View itemView) {
super(itemView);
this.row = itemView.findViewById(R.id.transaction_row);
this.tvDescription = itemView.findViewById(R.id.transaction_row_description);
+ this.tvComment = itemView.findViewById(R.id.transaction_comment);
this.tableAccounts = itemView.findViewById(R.id.transaction_row_acc_amounts);
this.vDelimiter = itemView.findViewById(R.id.transaction_delimiter);
this.vTransaction = itemView.findViewById(R.id.transaction_card_view);
this.tvDelimiterDate = itemView.findViewById(R.id.transaction_delimiter_date);
this.tvDelimiterMonth = itemView.findViewById(R.id.transaction_delimiter_month);
- this.vDelimiterLine = itemView.findViewById(R.id.transaction_delimiter_line);
this.vDelimiterThick = itemView.findViewById(R.id.transaction_delimiter_thick);
- this.vTrailer = itemView.findViewById(R.id.transaction_list_trailer);
}
}