CameraX - crash when unbinding Preview UseCase
问题 I need to freeze (stop) the preview when user initiates taking the photo. I've searched around and I've found this SO post that mentions unbinding Preview UseCase. I've tried that and at first it works correctly on Android 9+, but on lower Android I receive following error in Logcat and picture is not taken. ImageCapture: takePictureInternal onFailure androidx.camera.core.ImageCaptureException: The completer object was garbage collected - this future would otherwise never complete. The tag