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

@ -4,9 +4,10 @@ import android.os.Bundle
import androidx.recyclerview.widget.DiffUtil
import io.legado.app.data.entities.SearchBook
class DiffCallBack(private val oldItems: List<SearchBook>, private val newItems: List<SearchBook>) :
DiffUtil.Callback() {
class DiffCallBack(
private val oldItems: List<SearchBook>,
private val newItems: List<SearchBook>
) : DiffUtil.Callback() {
override fun getOldListSize(): Int {
return oldItems.size

Loading…
Cancel
Save