pull/32/head
kunfei 5 years ago
parent 93f817c9c7
commit 0c1a633444
  1. 4
      app/src/main/java/io/legado/app/ui/changesource/ChangeSourceAdapter.kt

@ -17,9 +17,7 @@ class ChangeSourceAdapter(context: Context, val callBack: CallBack) :
override fun convert(holder: ItemViewHolder, item: SearchBook, payloads: MutableList<Any>) {
holder.itemView.apply {
if (payloads.isEmpty()) {
this.onClick {
callBack.changeTo(item)
}
this.onClick { callBack.changeTo(item) }
tv_origin.text = item.originName
tv_last.text = item.latestChapterTitle
if (callBack.curBookUrl() == item.bookUrl) {

Loading…
Cancel
Save