mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
09779c6c64
commit
bd9afe7c4a
@ -5,6 +5,7 @@ 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() {
|
||||
|
||||
override fun getOldListSize(): Int {
|
||||
|
Loading…
Reference in New Issue
Block a user