Does anyone know, if I’m defining my Composable fu...
# compose
a
Does anyone know, if I’m defining my Composable functions inside android library module that afterward used by multiple app modules. It is only possible to run
@Preview
on device in case preview functions are declared inside library module? Right now I don’t have the
run on device
button near the preview functions unless they are located inside app module. Moving
@Preview
functions to app module shows the
run on device
icon.
z
I just ran into this, trying to find if an issue has been filed… I don’t suppose you found it yet?
a
Yes, still have the same issue. It is weird, but once run on device appeared inside library for me, but after I restarted Android Studio, I wasn't able to repeat that 🤷🏻