cameraProvider.bindToLifecycle(
lifecycleOwner,
cameraSelector,
preview,
imageAnalysis
)
But then the second camera try to bind it doesn't work (yes I know) . I get
Open count: 1 (Max allowed: 1)
But it works fine in camera2 but the camerax as good stability (lifecycle ....).
I'm bit confused how to go forward . is there any way to achieve this in X ?