The documentation says that `bindToLifecycle` retu...
# android
k
The documentation says that
bindToLifecycle
returns
static void
. Then how do lines like `
Copy code
val camera = cameraProvider.bindToLifecycle(this as LifecycleOwner,
    cameraSelector, preview, imageCapture, imageAnalyzer)
work? Is this literally just returning a void?
camera
sure behaves like a structured object.