修复发现界面点击加载更多不生效

pull/437/head
10bits 4 years ago committed by GitHub
parent d8a5362955
commit 8554aed543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/src/main/java/io/legado/app/ui/book/explore/ExploreShowActivity.kt

@ -40,9 +40,9 @@ class ExploreShowActivity : VMBaseActivity<ExploreShowViewModel>(R.layout.activi
loadMoreView.startLoad()
loadMoreView.setOnClickListener {
if (!isLoading) {
isLoading = true
loadMoreView.hasMore()
scrollToBottom()
isLoading = true
}
}
recycler_view.addOnScrollListener(object : RecyclerView.OnScrollListener() {

Loading…
Cancel
Save