How to get camera preview on jetpack compose with library implementation(“androidx.camera:camera-viewfinder-compose:1.0.0-alpha02”)?
The alpha version of viewfinder has been released.
How can I use it to get a preview from the camera?
Viewfinder(
surfaceRequest = ,
implementationMode = ,
transformationInfo =
)
Jetpack Compose: After taking a picture and pressing back, users can’t click on take a picture again
I’m using Jetpack Compose and I have a modal bottom sheet where users can click on Take a picture
when the bottom sheet pops up. Then they get to the camera view and after taking a picture, they click OK and the picture will be uploaded to a server. So far so good.