@ -51,9 +51,9 @@ class AnalyzeUrl(
private set
var path: String? = null
val headerMap = HashMap<String, String>()
private var queryStr: String? = null
private val fieldMap = LinkedHashMap<String, String>()
private val headerMap = HashMap<String, String>()
private var charset: String? = null
private var bodyTxt: String? = null
private var body: RequestBody? = null
@ -83,10 +83,7 @@ class ReadRssActivity : VMBaseActivity<ReadRssViewModel>(R.layout.activity_rss_r
}
})
viewModel.urlLiveData.observe(this, Observer {
webView.settings.apply {
webView.loadUrl(it.url)
webView.loadUrl(it.url, it.headerMap)