|
|
@ -128,9 +128,11 @@ class ReadRecordActivity : BaseActivity<ActivityReadRecordBinding>() { |
|
|
|
binding.apply { |
|
|
|
binding.apply { |
|
|
|
tvBookName.text = item.bookName |
|
|
|
tvBookName.text = item.bookName |
|
|
|
tvReadingTime.text = formatDuring(item.readTime) |
|
|
|
tvReadingTime.text = formatDuring(item.readTime) |
|
|
|
|
|
|
|
if (item.lastRead > 0) { |
|
|
|
tvLastReadTime.text = dateFormat.format(item.lastRead) |
|
|
|
tvLastReadTime.text = dateFormat.format(item.lastRead) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun registerListener(holder: ItemViewHolder, binding: ItemReadRecordBinding) { |
|
|
|
override fun registerListener(holder: ItemViewHolder, binding: ItemReadRecordBinding) { |
|
|
|
binding.apply { |
|
|
|
binding.apply { |
|
|
|