From 178f21f83bdc59c7f3e04e48f2749731e7449eaf Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 29 Jul 2019 09:47:54 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt b/app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt index cac4f8943..558d95356 100644 --- a/app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt +++ b/app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt @@ -86,6 +86,7 @@ class SourceDebugActivity : BaseActivity(), SourceDebug.Callba override fun printLog(state: Int, msg: String) { adapter.logList.add(msg) + adapter.notifyItemChanged(adapter.logList.size - 1) if (state == -1 || state == 1000) { rotate_loading.visibility = View.GONE }