From 16836de840ebf0ea4a4a396393a24f68240e544a Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 26 Dec 2020 21:49:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/kunfei/bookshelf/view/popupwindow/KeyboardToolPop.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/kunfei/bookshelf/view/popupwindow/KeyboardToolPop.kt b/app/src/main/java/com/kunfei/bookshelf/view/popupwindow/KeyboardToolPop.kt index 0013913ad8..d6888385fc 100644 --- a/app/src/main/java/com/kunfei/bookshelf/view/popupwindow/KeyboardToolPop.kt +++ b/app/src/main/java/com/kunfei/bookshelf/view/popupwindow/KeyboardToolPop.kt @@ -41,7 +41,7 @@ class KeyboardToolPop( RecyclerAdapter(context) { override fun getViewBinding(parent: ViewGroup): ItemTextBinding { - return ItemTextBinding.bind(parent) + return ItemTextBinding.inflate(inflater, parent, false) } override fun convert(holder: ItemViewHolder, binding: ItemTextBinding, item: String, payloads: MutableList) {