From b71d317eebe5d18dc658d5e5de6871350d2f4e1f Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 6 Sep 2019 21:05:23 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt index bfd23569c..213a325e6 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt @@ -48,7 +48,10 @@ class BookshelfAdapter : PagedListAdapter(D } override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MyViewHolder { - return MyViewHolder(LayoutInflater.from(parent.context).inflate(R.layout.item_bookshelf_list, parent, false)) + return MyViewHolder( + LayoutInflater.from(parent.context) + .inflate(R.layout.item_bookshelf_list, parent, false) + ) } override fun onBindViewHolder(holder: MyViewHolder, position: Int) {