You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming, that the idea of samples is to show best practice of using ML KIT sdk, I would suggest to replace manual call to .close() by lifecycle.addObserver(barcodeScanner).
Assuming, that the idea of samples is to show best practice of using ML KIT sdk, I would suggest to replace manual call to
.close()
bylifecycle.addObserver(barcodeScanner)
.camera-samples/CameraX-MLKit/app/src/main/java/com/example/camerax_mlkit/MainActivity.kt
Line 108 in de8b235
However if there is a reason not to do so - could you please explain it either in readme or via the comment in the code for clarity.
The text was updated successfully, but these errors were encountered: