Is there available API currently which logs node interactions with compose? for debugging purposes?
z
Zach Klippenstein (he/him) [MOD]
12/10/2020, 6:00 PM
What do you mean by “node interactions”?
a
allan.conda
12/10/2020, 6:24 PM
clicking a node, scrolling a view, etc
hover, whatever. similar to accessibility stuff but on logs or a callback
like when you're using espresso test recorder
z
Zach Klippenstein (he/him) [MOD]
12/10/2020, 6:41 PM
I don’t know of any specific api just for this, but Compose wires up to Android’s accessibility node system in its host view so you should be able to keep using that.
That said, some accessibility features are still in progress, so there might be some stuff missing.