pull/1440/head
gedoor 3 years ago
parent 09779c6c64
commit bd9afe7c4a
  1. 1
      app/src/main/java/io/legado/app/ui/book/changecover/DiffCallBack.kt

@ -5,6 +5,7 @@ import androidx.recyclerview.widget.DiffUtil
import io.legado.app.data.entities.SearchBook import io.legado.app.data.entities.SearchBook
class DiffCallBack(private val oldItems: List<SearchBook>, private val newItems: List<SearchBook>) : class DiffCallBack(private val oldItems: List<SearchBook>, private val newItems: List<SearchBook>) :
DiffUtil.Callback() { DiffUtil.Callback() {
override fun getOldListSize(): Int { override fun getOldListSize(): Int {

Loading…
Cancel
Save