Anyone ever run into trouble with
AndroidView
and/or
WebView
? I have a composable that is a
Column
with a few
Text
and
Image
Composables, and then an
AndroidView
which loads a
WebView
… When it loads, the AndroidView/WebView display fine (and in the proper spot on the screen), but the other Text and Image composables don’t show up at all. Anyone run into this issue?
If I comment out the AndroidView, then the Text and Image composables show up.
Also, if I use an AndroidView, but just load it with a generic
View
, then the Text and Image composables also show up. So it seems to be something specific to WebView?
More strange, if I DO NOT use androidx.webkit for the WebView, then if I wait a while after the screen loads up (maybe 20 or 30 seconds?) and then scroll around in the webview, the content then all of a sudden pops into place