pull/35/head^2
kunfei 5 years ago
parent e8f438e84e
commit ca973d3f8e
  1. 4
      app/src/main/java/io/legado/app/ui/rss/article/RssArticlesActivity.kt

@ -9,8 +9,10 @@ import io.legado.app.R
import io.legado.app.base.VMBaseActivity import io.legado.app.base.VMBaseActivity
import io.legado.app.data.entities.RssArticle import io.legado.app.data.entities.RssArticle
import io.legado.app.lib.theme.ATH import io.legado.app.lib.theme.ATH
import io.legado.app.ui.rss.read.ReadRssActivity
import io.legado.app.utils.getViewModel import io.legado.app.utils.getViewModel
import kotlinx.android.synthetic.main.activity_rss_artivles.* import kotlinx.android.synthetic.main.activity_rss_artivles.*
import org.jetbrains.anko.startActivity
class RssArticlesActivity : VMBaseActivity<RssArticlesViewModel>(R.layout.activity_rss_artivles), class RssArticlesActivity : VMBaseActivity<RssArticlesViewModel>(R.layout.activity_rss_artivles),
RssArticlesAdapter.CallBack { RssArticlesAdapter.CallBack {
@ -48,6 +50,6 @@ class RssArticlesActivity : VMBaseActivity<RssArticlesViewModel>(R.layout.activi
} }
override fun readRss(rssArticle: RssArticle) { override fun readRss(rssArticle: RssArticle) {
startActivity<ReadRssActivity>(Pair("description", rssArticle.description))
} }
} }
Loading…
Cancel
Save