From 13d20341c58a0cfcebf3320317b6bece6245457f Mon Sep 17 00:00:00 2001 From: gedoor Date: Thu, 25 Nov 2021 17:54:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/ui/book/changecover/DiffCallBack.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/changecover/DiffCallBack.kt b/app/src/main/java/io/legado/app/ui/book/changecover/DiffCallBack.kt index 1d1668acb..65d6fdd36 100644 --- a/app/src/main/java/io/legado/app/ui/book/changecover/DiffCallBack.kt +++ b/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, private val newItems: List) : - -DiffUtil.Callback() { +class DiffCallBack( + private val oldItems: List, + private val newItems: List +) : DiffUtil.Callback() { override fun getOldListSize(): Int { return oldItems.size