how can I get a reference to a view in jetpack com...
# compose
m
how can I get a reference to a view in jetpack compose?
a
there’s no such thing. what are you trying to do?
v
if you want to get hold of the
ComposeView
that a given composable is a part of, you can use
LocalView.current
m
This one, Using RuntimeShader with RenderEffect
I'm gonna experiment tonight with the LocalView.current
yep, it works with LocalView.current, thanks
587 Views