From 7cbb2038d216a58f39badd67ebae708321072d3a Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 27 Dec 2020 15:30:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/base/adapter/DiffRecyclerAdapter.kt | 2 -- app/src/main/java/io/legado/app/base/adapter/RecyclerAdapter.kt | 2 -- 2 files changed, 4 deletions(-) diff --git a/app/src/main/java/io/legado/app/base/adapter/DiffRecyclerAdapter.kt b/app/src/main/java/io/legado/app/base/adapter/DiffRecyclerAdapter.kt index 9f9a69dc2..60d3600ed 100644 --- a/app/src/main/java/io/legado/app/base/adapter/DiffRecyclerAdapter.kt +++ b/app/src/main/java/io/legado/app/base/adapter/DiffRecyclerAdapter.kt @@ -26,8 +26,6 @@ abstract class DiffRecyclerAdapter(protected val context } } - private val lock = Object() - private var itemClickListener: ((holder: ItemViewHolder, item: ITEM) -> Unit)? = null private var itemLongClickListener: ((holder: ItemViewHolder, item: ITEM) -> Boolean)? = null diff --git a/app/src/main/java/io/legado/app/base/adapter/RecyclerAdapter.kt b/app/src/main/java/io/legado/app/base/adapter/RecyclerAdapter.kt index 9815a6516..1f374acdf 100644 --- a/app/src/main/java/io/legado/app/base/adapter/RecyclerAdapter.kt +++ b/app/src/main/java/io/legado/app/base/adapter/RecyclerAdapter.kt @@ -26,8 +26,6 @@ abstract class RecyclerAdapter(protected val context: Co private val items: MutableList = mutableListOf() - private val lock = Object() - private var itemClickListener: ((holder: ItemViewHolder, item: ITEM) -> Unit)? = null private var itemLongClickListener: ((holder: ItemViewHolder, item: ITEM) -> Boolean)? = null