pull/36/head
kunfei 5 years ago
parent c77c257556
commit e9279fd103
  1. 6
      app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt

@ -103,13 +103,11 @@ class SearchActivity : VMBaseActivity<SearchViewModel>(R.layout.activity_book_se
adapter = SearchAdapter(this)
recycler_view.layoutManager = LinearLayoutManager(this)
recycler_view.adapter = adapter
fb_stop.onClick { viewModel.stop() }
}
private fun initOtherView() {
tv_clear_history.onClick {
viewModel.clearHistory()
}
tv_clear_history.onClick { viewModel.clearHistory() }
fb_stop.onClick { viewModel.stop() }
}
private fun initData() {

Loading…
Cancel
Save