https://kotlinlang.org logo
#compose
Title
# compose
r

rsktash

12/21/2020, 10:50 PM
Hi, how can we check if component is being rendered in AS preview ?
z

zoha131

12/22/2020, 1:13 AM
easiest way would be to use a parameter and pass the parameter from ’@Preview’ block
1
r

rsktash

12/22/2020, 10:48 AM
I know it. But ideally there must be a component scope method like it was in views