优化搜索

pull/737/head
gedoor 4 years ago
parent 65facf0706
commit 68f1146c6c
  1. 2
      app/src/main/java/io/legado/app/ui/book/search/SearchAdapter.kt

@ -31,7 +31,7 @@ class SearchAdapter(context: Context, val callBack: CallBack) :
return false
}
override fun getChangePayload(oldItem: SearchBook, newItem: SearchBook): Any? {
override fun getChangePayload(oldItem: SearchBook, newItem: SearchBook): Any {
val payload = Bundle()
payload.putInt("origins", newItem.origins.size)
if (oldItem.coverUrl != newItem.coverUrl)

Loading…
Cancel
Save