From dc4a9df268d7f8d0c818fda74ecfe7e9a75699e5 Mon Sep 17 00:00:00 2001 From: GKF Date: Mon, 10 Jun 2019 10:52:15 +0800 Subject: [PATCH] up --- .../app/ui/main/bookshelf/BookGroupAdapter.kt | 25 ++++++++++++++++++- app/src/main/res/layout/item_book_group.xml | 1 + 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookGroupAdapter.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookGroupAdapter.kt index 077a610fc..df2ed8f49 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookGroupAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookGroupAdapter.kt @@ -8,6 +8,7 @@ import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView import io.legado.app.R import io.legado.app.data.entities.BookGroup +import kotlinx.android.synthetic.main.item_book_group.view.* class BookGroupAdapter : PagedListAdapter(DIFF_CALLBACK) { @@ -24,15 +25,37 @@ class BookGroupAdapter : PagedListAdapter