Session Details
Session
Level: #Intermediate
Category: Libraries | Format: Session
11:00 am - 11:40 am | Room B
Composifying Your Not-Compose Code
Session Description:
Often, when writing Compose code, we need to interact with code that does not support Compose. One sample of those it could be the Google Maps SDK, which does not provide out-of-the-box support for Compose. The Android Maps Compose library was written to overcome this limitation. In this session, we will explain some of the techniques used to develop android-maps-compose, and provide a Compose interface for a library that did not originally support it. You'll learn how we leveraged interoperability techniques, such as the Android View bridge, to wrap non-Compose components, manage their lifecycles safely within Compose, and expose idiomatic, composable APIs to end users. Whether you're looking to wrap legacy UI code or offer a modern Compose interface on top of a traditional Android library, this talk will provide you with practical tools, design patterns, and architectural considerations to help you “composify” just about anything.