There is also a `ViewAdapter` interface that allow...
# compose
r
There is also a
ViewAdapter
interface that allows us to use Android widgets in Compose.
👍 1
r
Does this have some magic for automatically wiring up the view's listeners, or does that have to be done manually?
r
I don't see how this can happen automatically.
r
Neither do I, but I've learned that is often just a limit to my understanding, and not a fundamental limit to the subject matter.
r
As we discussed, there's an way to compose custom views, thanks for figuring it out and sharing. @ragunathjawahar simple smile
r
I haven't figured this out yet, I'm just exploring the source. I will need help 🙂
👍 1
r
Fair enough 🙂 I haven't dug into it much yet, but I hope to get more chances to soon.
r
@ragunathjawahar shoot me a dm if I can be of any help.
l
@ragunathjawahar have a look at the code in the androidx.ui.androidview.adapters package. Some of this stuff may change, but this is how we’ve been doing some of the view properties that haven’t worked w/ compose very well
✔️ 1
r
Interesting, thank you for the direction!