# compose-android

Marwan Ehab

09/19/2023, 2:52 PM
What are the recommended cleanup steps when using CameraX with jetpack compose if the camera screen is not the only screen in my application? So when I navigate from some screen to a screen using the camera where should the cameraProvider/PreviewView/etc... be initialized and how should I clean everything up when leaving the camera screen