コード例 #1
0
 private TransactionViewHolder(View root) {
   this.titleTextView = Views.find(root, R.id.titleTextView);
   this.valueTextView = Views.find(root, R.id.valueTextView);
   this.descriptionTextView = Views.find(root, R.id.descriptionTextView);
   this.dateTextView = Views.find(root, R.id.dateTextView);
   this.context = root.getContext();
   this.personDao = new PersonDao(this.context);
   this.dateTimeFormatter = DateTimeFormatter.showDateTime(this.context).showWeekDay();
 }
コード例 #2
0
 private SimpleTransactionViewHolder(View root) {
   super(root);
   this.hintTextView = Views.find(root, R.id.hintTextView);
 }