wow thank you so much. You guys are real mentors. I really needed the Camera X API for my recent project. Again Thank You.
@magamboisaac760210 ай бұрын
great tutorial
@kujmous9 ай бұрын
If you disable the button for capturing video when recording starts, how is it clickable when it is time to stop recording?
@sharpcooking6694 Жыл бұрын
thanks for this ❤
@stephensmithchibale5885 Жыл бұрын
Inside the startCameraX function when I wrote the statement: preview.setSurfaceProvider(mainBinding.pvPreview.getSurfaceProvider()); I got an error saying, 'Cannot resolve symbol 'mainBinding''. Is there something that I have missed out in my code?
@CodingReel Жыл бұрын
Thanks for trying out the code. Yes, you are missing the mainBinding variable initialization. Here are the things to check: 1) Verify that viewBinding is enabled in build.gradle 2) Initialize mainBinding in the activity and pass its root view in setContentView method.
@brunop_dev_jr Жыл бұрын
In build.grade add in android { viewBinding { enabled = true } } and in your class put this private ActivityCameraTimestampBinding mainBinding; but the name its because my xml are activity_camera_timestamp do something similar to your name.xml.