android / camera-samples

Multiple samples showing the best practices in camera APIs on Android.
Apache License 2.0
4.96k stars 2.32k forks source link

Camerax viewstate #515

Closed jsaund closed 1 year ago

jsaund commented 1 year ago
  1. Refactor to add view state models for capture screen, camera preview, and post capture -- this is to help prepare for a simpler integration with Compose
  2. Publish the photo so it can be picked up by the Gallery and other apps
  3. Allow intercepting the back press when the photo capture screen is visible so using the back button behaves the same as the "x" button
  4. Support tap to focus and double tap to switch camera
  5. Tap to focus shows and animates a focus point
  6. Support zoom in/out via pinch to zoom gesture