Code snippets used in the blog post series "Unlocking the Power of CameraX in Jetpack Compose". I will add snippets as blog posts are released!
Each file can be copied as-is to the MainActivity.kt
of a new project. However, it doesn't include any library dependencies or adaptations to AndroidManifest.xml
, so make sure to follow the steps in the blog posts themselves to get a working sample.
- Getting Started with CameraX in Jetpack Compose
- Tap to focus: Mastering CameraX Transformations in Jetpack Compose
- Create a spotlight effect with CameraX and Jetpack Compose
- [Adaptive Camera: Smooth Tabletop Mode with Animations](https://gist.github.com/JolandaVerhoef/74d4696b80473