how to convert Compose View to Bitmap?
# compose
s
how to convert Compose View to Bitmap?
w
There is a feature request for this https://issuetracker.google.com/issues/198182887 And look into this as well https://issuetracker.google.com/issues/180881629 You can do this but no direct way !
c
We implemented this with the help of the following article: https://proandroiddev.com/create-bitmaps-from-jetpack-composables-bdb2c95db51
m
Hello, really late to the party. I’m trying to follow this article, but In my usecase I jave a drawing view and need to capture a bitmap only when “Capture” CTA is pressed, any sugestión im how to tackle this?
492 Views