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