From 68f4c7a87a8d19dff27ef2f49afd421027cfff49 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 9 Jun 2019 20:35:47 +0800 Subject: [PATCH] up --- .../io/legado/app/ui/main/bookshelf/BookGroupAdapter.kt | 6 ++++-- app/src/main/res/layout/item_book_group.xml | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/layout/item_book_group.xml 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 04a7dfe28..077a610fc 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 @@ -1,10 +1,12 @@ package io.legado.app.ui.main.bookshelf +import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.paging.PagedListAdapter import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView +import io.legado.app.R import io.legado.app.data.entities.BookGroup class BookGroupAdapter : PagedListAdapter(DIFF_CALLBACK) { @@ -23,11 +25,11 @@ class BookGroupAdapter : PagedListAdapter + \ No newline at end of file