Join Slack
Powered by
is there any way to use compose with a webview?
# compose
r
Rodrigo Fonseca
02/05/2020, 6:03 PM
is there any way to use compose with a webview?
a
Adam Powell
02/05/2020, 6:19 PM
Some preliminary experiments that you might find interesting:
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-master-dev:ui/ui-android-view/integration-tests/android-view-demos/src/main/java/androidx/ui/androidview/demos/WebComponentActivity.kt;l=24?q=WebView%20Composable&ss=androidx
r
Rodrigo Fonseca
02/05/2020, 6:20 PM
Okay, thanks I'll take a look
a
Adam Powell
02/05/2020, 6:24 PM
there's some other WIP around transitioning between Compose UI and View composition that will likely change some things in here
Adam Powell
02/05/2020, 6:24 PM
but it shows one way to do a webview in a declarative style using compose
r
Rodrigo Fonseca
02/05/2020, 6:27 PM
I got it, thanks.
13
Views
Open in Slack
Previous
Next