Compose Previews #1715
Unanswered
ryanrampage1
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Your best bet is to use a test image as the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, I Love this library, this has been a game changer and just all around awesome product.
One thing that has came up, I am looking to see now what is the preferred way to render previews with fake images in compose previews. I have looked around a bit but have not found a great or consistent answer.
I saw the snippet below on #977 and seems to work well, but LocalImageLoader is now deprecated in favor of the factory override.
In general would love to see in the docs an explanation of how to properly render image previews in composable, especially now that the following snippet is deprecated.
Thank you all for your help!
Beta Was this translation helpful? Give feedback.
All reactions