How to pass styled attributes to `AndroidView` ?
# compose
k
How to pass styled attributes to
AndroidView
?
m
Would using a
ContextThemeWrapper
help? E.g.
Copy code
Providers(ContextAmbient provides ContextThemeWrapper(ContextAmbient.current, R.style.MyStyle)) {
    AndroidView(...)
}
🙌 1
👍 1
k
Thanks for the reply! I'm working on some other stuff so didn't try this solution, but will definitely let you know if it worked 🙂