From ae7b937cd24932656c75c91188d50f43dbbb6b5a Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 2 Oct 2019 17:46:16 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/rss/read/ReadRssActivity.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt b/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt index 84d36c5eb..f13f41b61 100644 --- a/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt +++ b/app/src/main/java/io/legado/app/ui/rss/read/ReadRssActivity.kt @@ -1,15 +1,15 @@ package io.legado.app.ui.rss.read import android.os.Bundle -import androidx.appcompat.app.AppCompatActivity import io.legado.app.R +import io.legado.app.base.BaseActivity import kotlinx.android.synthetic.main.activity_rss_read.* -class ReadRssActivity : AppCompatActivity() { - override fun onCreate(savedInstanceState: Bundle?) { - super.onCreate(savedInstanceState) - setContentView(R.layout.activity_rss_read) +class ReadRssActivity : BaseActivity(R.layout.activity_rss_read) { + + override fun onActivityCreated(savedInstanceState: Bundle?) { val description = intent.getStringExtra("description") webView.loadData("$description","text/html", "utf-8") } + } \ No newline at end of file