From d75b049fcfdfaa95281e6bf5f107a1c35231024e Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 13 Oct 2019 19:52:52 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/main/bookshelf/BooksAdapter.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/BooksAdapter.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/BooksAdapter.kt index 5152278ca..3bdbaf24e 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/BooksAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/BooksAdapter.kt @@ -11,6 +11,7 @@ import io.legado.app.constant.BookType import io.legado.app.data.entities.Book import io.legado.app.help.ImageLoader import io.legado.app.lib.theme.ThemeStore +import io.legado.app.utils.LogUtils import io.legado.app.utils.getCompatColor import io.legado.app.utils.invisible import kotlinx.android.synthetic.main.item_bookshelf_list.view.* @@ -38,6 +39,7 @@ class BooksAdapter(private val callBack: CallBack) : for (i in 0 until itemCount) { getItem(i)?.let { if (it.bookUrl == bookUrl) { + LogUtils.d("up", it.name) notifyItemChanged(i) return }