I am building an App using CameraX API. I'm following android codelab example. In Codelab, The project is written on Kotlin, but in my project, I am using Java. I can't understand how do I convert these statements to java? Even I don't know, what is this line does.
// Get a stable reference of the modifiable image capture use case
val imageCapture = imageCapture ?: return