Join Slack
Powered by
Is there a way to get a screenshot of a specific C...
# compose
f
Foso
08/16/2020, 8:04 PM
Is there a way to get a screenshot of a specific Composable as a Bitmap or any other file?
m
Mark Murphy
08/16/2020, 8:42 PM
We discussed some limited options here a while back:
https://kotlinlang.slack.com/archives/CJLTWPH7S/p1593041594083900
👍 1
z
Zach Klippenstein (he/him) [MOD]
08/16/2020, 11:32 PM
The Compose testing library has a function for this. You could look at how that's implemented.
👍 1
p
Piotr Prus
03/05/2021, 12:45 PM
@Foso
Did you get it working? I would like to make a bitmap from composable function
f
Foso
03/05/2021, 5:01 PM
I tried some things, but i can't remember
😂 2
a
Ali Kabiri
08/18/2021, 1:36 PM
Could you remember how you got it working? haha
13
Views
Open in Slack
Previous
Next