Coroutine lifecycleowner (#9)

* Run the camera without explicit LifecycleOwner

 This replaces the LifecycleOwner argument that is passed
 to the ViewModel with a mechanism that runs the camera for
 the duration of a coroutine. This allows us to explicitly start
 and stop the camera from the ViewModel's API.
6 files changed
tree: ded215a9ac29b6db4f8043e889492796574d434c
  1. .github/
  2. .idea/
  3. app/
  4. camera-viewfinder-compose/
  5. data/
  6. docs/
  7. domain/
  8. feature/
  9. gradle/
  10. .gitignore
  11. build.gradle
  12. gradle.properties
  13. gradlew
  14. gradlew.bat
  15. LICENSE
  16. README.md
  17. settings.gradle
README.md

Jetpack Camera App ๐Ÿ“ธ

This repository contains Jetpack Camera App. It's a work in progress ๐Ÿšง.

Jetpack Camera App is (will be) a fully functional camera app, focused on features used by app developers, and built entirely with CameraX, Kotlin and Jetpack Compose. It follows Android design and development best practices and it's intended to be a useful reference for developers.

This repository is currently in early development, and will go through many changes.

Development Environment โš’๏ธ

This project uses the gradle build system, and can be imported directly into Android Studio.

Architecture ๐Ÿ“

TBD

Testing ๐Ÿงช

TBD

Source Code Headers

Every file containing source code must include copyright and license information. This includes any JS/CSS files that you might be serving out to browsers. (This is to help well-intentioned people avoid accidental copying that doesn't comply with the license.)

Apache header:

Copyright 2022 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.