@ -24,6 +24,7 @@ class RssArticlesActivity : VMBaseActivity<RssArticlesViewModel>(R.layout.activi
initView()
intent.getStringExtra("url")?.let {
initData(it)
viewModel.loadContent(it)
}
@ -6,5 +6,7 @@ import io.legado.app.base.BaseViewModel
class RssArticlesViewModel(application: Application) : BaseViewModel(application) {
fun loadContent(url: String) {