pull/32/head
kunfei 5 years ago
parent bccb527b77
commit 0f0405480f
  1. 1
      app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt
  2. 4
      app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt

@ -100,7 +100,6 @@ class BookshelfAdapter : PagedListAdapter<Book, BookshelfAdapter.MyViewHolder>(D
interface CallBack {
fun open(book: Book)
fun openBookInfo(book: Book)
fun search()
fun isUpdate(bookUrl: String): Boolean
}
}

@ -118,10 +118,6 @@ class BookshelfFragment : VMBaseFragment<BookshelfViewModel>(R.layout.fragment_b
context?.startActivity<BookInfoActivity>(Pair("bookUrl", book.bookUrl))
}
override fun search() {
}
override fun isUpdate(bookUrl: String): Boolean {
return bookUrl in viewModel.updateList
}

Loading…
Cancel
Save