Skip to content

Instantly share code, notes, and snippets.

@Arunshaik2001
Created November 28, 2022 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Arunshaik2001/4e8ad0c7775e14448c3655fc9a7dac4b to your computer and use it in GitHub Desktop.
Save Arunshaik2001/4e8ad0c7775e14448c3655fc9a7dac4b to your computer and use it in GitHub Desktop.
AndroidView(factory = {
val layoutInflater: LayoutInflater = LayoutInflater.from(it)
val view: View = layoutInflater.inflate(R.layout.activity_call, null, false)
view
}, update = { view ->
val webView: WebView = view.findViewById(R.id.webView)
webViewCompose = webView
webView.loadUrl(mUrl)
WebRTCUtil.setupWebView(webView)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment