In Google I/O 2019 , Google added another powerfull tool for camera development in Android development called CameraX as part of Jetpack. CameraX is a sample application developed with Kotlin using the Jetpack library. Almost all features have been used. (Save Photo, Switch Lens, Rotation, AspectRatio, etc)
def camerax_version = "1.0.0-alpha01"
implementation "androidx.camera:camera-core:${camerax_version}"
implementation "androidx.camera:camera-camera2:${camerax_version}"
- Android Navigation Architecture
- Kotlin Coroutine
- Android Lifecycle