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) {