Join Slack
Hi, how can we check if component is being rendered in AS preview ?
# 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
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by