From fb985a287ce0027a69c7cf50d80096a7d702efd9 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 4 Sep 2019 09:15:55 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/main/findbook/FindBookAdapter.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt b/app/src/main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt index c6a217109..232ee023d 100644 --- a/app/src/main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/main/findbook/FindBookAdapter.kt @@ -34,7 +34,10 @@ class FindBookAdapter:PagedListAdapter } override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MyViewHolder { - return MyViewHolder(LayoutInflater.from(parent.context).inflate(R.layout.item_find_book, parent, false)) + return MyViewHolder( + LayoutInflater.from(parent.context) + .inflate(R.layout.item_find_book, parent, false) + ) } override fun onBindViewHolder(holder: MyViewHolder, position: Int): Unit =