pull/49/head
kunfei 5 years ago
parent 9e08329f5a
commit a351c6388e
  1. 1
      app/src/main/java/io/legado/app/ui/rss/article/RssArticlesActivity.kt
  2. 3
      app/src/main/java/io/legado/app/ui/widget/recycler/RefreshRecyclerView.kt

@ -101,6 +101,7 @@ class RssArticlesActivity : VMBaseActivity<RssArticlesViewModel>(R.layout.activi
}
override fun loadFinally() {
refresh_recycler_view.stopLoading()
if (viewModel.hasMore) {
loadMoreView.startLoad()
} else {

@ -75,4 +75,7 @@ class RefreshRecyclerView(context: Context?, attrs: AttributeSet?) : LinearLayou
onRefreshStart?.invoke()
}
fun stopLoading() {
refresh_progress_bar.isAutoLoading = false
}
}
Loading…
Cancel
Save