I developed a QRCode scanner, it’s a scanner that ...
# compose
a
I developed a QRCode scanner, it’s a scanner that add in a container in my old xml layout.. how can i used it in compose ? So how ca i add a Fragment inside a compose layout ?
any help ? 😞
r
a
i know but there isn’t a solution for me
r
What have you tried so far and what issue are you facing? If you could post the code snippet, that helps
j
So how ca i add a Fragment inside a compose layout
Short answer: you can’t. Interop only allows you to: Put a Composable inside a
View
hierarchy (using
ComposeView
). OR Put a
View
inside a Composable hierarchy (using the
AndroidView
composable).