From 4356e9e30eb0f312d94f186e67deacfef66200e1 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 2 Oct 2019 16:54:05 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/rss/article/RssArticlesActivity.kt | 1 + .../java/io/legado/app/ui/rss/article/RssArticlesViewModel.kt | 2 ++ 2 files changed, 3 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 9df7a3aeb..a7c09b1a8 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 @@ -24,6 +24,7 @@ class RssArticlesActivity : VMBaseActivity(R.layout.activi initView() intent.getStringExtra("url")?.let { initData(it) + viewModel.loadContent(it) } } diff --git a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesViewModel.kt b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesViewModel.kt index 344b1d098..86894d3a4 100644 --- a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesViewModel.kt @@ -6,5 +6,7 @@ import io.legado.app.base.BaseViewModel class RssArticlesViewModel(application: Application) : BaseViewModel(application) { + fun loadContent(url: String) { + } } \ No newline at end of file