top of page
FlutterCon_logo.png

7-9 OCT. 2026

BERLIN

FlutterCon_icon_turned.png
Anita_Singh_edited.jpg

( SPEAKER )

Yasith Vidanaarachchi

Google, Sofware Engineer - CameraX

( SESSION )

Building a Compose-idiomatic CameraX Viewfinder: A Deep Dive

The CameraX library offers powerful tools for building camera features in Android apps, but its integration with Jetpack Compose can be challenging. In this session we'll retrace our steps in creating a Compose-idiomatic Composable for the CameraX Viewfinder. - CameraX already has a view based PreviewView, we'll talk about the limitations of wrapping it with AndroidView. - Discuss the benefits of a Compose-first approach for seamless UI integration, state management, and a more natural development experience. - What it means to make a Compose idiomatic Composable - Dive into the complexities of aligning the Compose coordinate space with the CameraX coordinate space using the CoordinateTransformer
bottom of page