Open dannypadilla opened 4 years ago
Create a fragment for each. But requires splitting up some of the code. Follow how we did it in the codelabs. Don't forget to add navigation.
ref: https://github.com/android/camera-samples/tree/master/CameraXBasic/app/src/main/java/com/android/example/cameraxbasic/fragments
The code is all in CameraDisplay.kt
CameraDisplay.kt
Create a fragment for each. But requires splitting up some of the code. Follow how we did it in the codelabs. Don't forget to add navigation.
ref: https://github.com/android/camera-samples/tree/master/CameraXBasic/app/src/main/java/com/android/example/cameraxbasic/fragments