|
|
@ -85,7 +85,6 @@ class RssArticlesActivity : VMBaseActivity<RssArticlesViewModel>(R.layout.activi |
|
|
|
loadMoreView = |
|
|
|
loadMoreView = |
|
|
|
LayoutInflater.from(this).inflate(R.layout.view_load_more, recycler_view, false) |
|
|
|
LayoutInflater.from(this).inflate(R.layout.view_load_more, recycler_view, false) |
|
|
|
adapter?.addFooterView(loadMoreView) |
|
|
|
adapter?.addFooterView(loadMoreView) |
|
|
|
refresh_progress_bar.isAutoLoading = true |
|
|
|
|
|
|
|
refresh_recycler_view.onRefreshStart = { |
|
|
|
refresh_recycler_view.onRefreshStart = { |
|
|
|
url?.let { |
|
|
|
url?.let { |
|
|
|
viewModel.loadContent(it) { |
|
|
|
viewModel.loadContent(it) { |
|
|
|