Created
December 10, 2024 10:54
-
-
Save tdcolvin/0598e0b38dece2aae3a5ca4ffbb50d24 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cameraControl by remember { mutableStateOf<CameraControl?>(null) } | |
fun rebindCameraProvider() { | |
… | |
val camera = cameraProvider.bindToLifecycle( … ) | |
cameraControl = camera.cameraControl | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment