Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@JolandaVerhoef
Copy link
Contributor

1.5.0-alpha03 of the camerax library suite contains a new camerax-compose artifact, which does a lot of the heavy lifting for you when creating a viewfinder in Compose. This pull request implements the new artifact.

Note: The 1.5.0-alpha03 release of camerax depends on compileSdk 35, so I had to update that as well.

Copy link

@romanofranz romanofranz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat, thanks!

.build()
.build().apply {
setSurfaceProvider { newSurfaceRequest ->
Log.d("JOLO", "New surface request")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a temporary log statement.

.build().apply {
setSurfaceProvider { newSurfaceRequest ->
Log.d("JOLO", "New surface request")
_surfaceRequest.value = newSurfaceRequest

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JolandaVerhoef JolandaVerhoef merged commit 484dc00 into main Jan 19, 2025
2 checks passed
@JolandaVerhoef JolandaVerhoef deleted the jv/camerax-compose branch January 19, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants