From e8840c3f586f9267eafa757cab3c5a551c04160c Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 29 Oct 2019 10:45:50 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/main/bookshelf/BooksAdapter.kt | 5 ----- 1 file changed, 5 deletions(-) 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 bede42760..71e74b9ef 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 @@ -8,7 +8,6 @@ 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.ATH -import io.legado.app.utils.LogUtils import io.legado.app.utils.invisible import kotlinx.android.synthetic.main.item_bookshelf_list.view.* import org.jetbrains.anko.sdk27.listeners.onClick @@ -39,11 +38,9 @@ class BooksAdapter(context: Context, private val callBack: CallBack) : true } if (item.origin != BookType.local && callBack.isUpdate(item.bookUrl)) { - LogUtils.d(item.name, "loading") bv_unread.invisible() rl_loading.show() } else { - LogUtils.d(item.name, "loadingHide") rl_loading.hide() bv_unread.setBadgeCount(item.getUnreadChapterNum()) bv_unread.setHighlight(item.lastCheckCount > 0) @@ -52,11 +49,9 @@ class BooksAdapter(context: Context, private val callBack: CallBack) : when (payloads[0]) { 5 -> { if (item.origin != BookType.local && callBack.isUpdate(item.bookUrl)) { - LogUtils.d(item.name, "loading") bv_unread.invisible() rl_loading.show() } else { - LogUtils.d(item.name, "loadingHide") rl_loading.hide() bv_unread.setBadgeCount(item.getUnreadChapterNum()) bv_unread.setHighlight(item.lastCheckCount > 0)