From a351c6388e8b776eeef2657c50734a917766a1f2 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 19 Nov 2019 22:46:04 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/rss/article/RssArticlesActivity.kt | 1 + .../io/legado/app/ui/widget/recycler/RefreshRecyclerView.kt | 3 +++ 2 files changed, 4 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesActivity.kt b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesActivity.kt index 8f11b3c09..a9e4e9373 100644 --- a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesActivity.kt +++ b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesActivity.kt @@ -101,6 +101,7 @@ class RssArticlesActivity : VMBaseActivity(R.layout.activi } override fun loadFinally() { + refresh_recycler_view.stopLoading() if (viewModel.hasMore) { loadMoreView.startLoad() } else { diff --git a/app/src/main/java/io/legado/app/ui/widget/recycler/RefreshRecyclerView.kt b/app/src/main/java/io/legado/app/ui/widget/recycler/RefreshRecyclerView.kt index 8fcc56d2c..931a7d138 100644 --- a/app/src/main/java/io/legado/app/ui/widget/recycler/RefreshRecyclerView.kt +++ b/app/src/main/java/io/legado/app/ui/widget/recycler/RefreshRecyclerView.kt @@ -75,4 +75,7 @@ class RefreshRecyclerView(context: Context?, attrs: AttributeSet?) : LinearLayou onRefreshStart?.invoke() } + fun stopLoading() { + refresh_progress_bar.isAutoLoading = false + } } \ No newline at end of file