From 0f0405480f0a1da713166046364d9c1319205238 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 9 Sep 2019 08:59:57 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt | 1 - .../java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt | 4 ---- 2 files changed, 5 deletions(-) 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 213a325e6..4f5a271c2 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 @@ -100,7 +100,6 @@ class BookshelfAdapter : PagedListAdapter(D interface CallBack { fun open(book: Book) fun openBookInfo(book: Book) - fun search() fun isUpdate(bookUrl: String): Boolean } } \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt index 2e389815d..415a7cafe 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt @@ -118,10 +118,6 @@ class BookshelfFragment : VMBaseFragment(R.layout.fragment_b context?.startActivity(Pair("bookUrl", book.bookUrl)) } - override fun search() { - - } - override fun isUpdate(bookUrl: String): Boolean { return bookUrl in viewModel.updateList }