How to refresh Webview in Jetpack compose if url is the same?
I try to use AccompanistWebViewClient
and then I try to change urlState to the same webview not reloading
How to reload the webview?
val urlState =
rememberWebViewState()
WebView(
state = urlState,
onCreated = { webView ->
webView.settings.javaScriptEnabled = true
},
client = remember { webViewClient },
chromeClient = remember { chromeViewClient }
)