Compose Beyond UI — Crafting Melodies Declaratively

Compose has become widely adopted as a UI framework, but did you know that its mechanisms can be applied beyond UI as well? Among the modules that make up Compose, the lowest-level layer—Runtime—is designed for general-purpose use, not just building UIs. Yet, everyday UI development touches only a subset of its APIs, so its full capabilities remain largely not known. Runtime provides foundational APIs that let you write and execute code declaratively, underpinning Compose’s declarative programming style. By understanding and leveraging Runtime, you can apply Compose’s declarative approach to your own logic. This session shines a spotlight on the Runtime you normally use unconsciously and showcases practical examples. We will explain Runtime’s role inside Compose and demonstrate how to adapt it to your own processes. As an example of Runtime applied beyond UI, you’ll be presented a demo of “declarative audio processing,” which plays melodies and sound effects directly from declarative code. Through this session, you will gain insight into Compose’s inner workings and acquire a perspective on declarative programming that extends beyond UI. Experience the vast possibilities of Compose. (Translated by the DroidKaigi Committee)

  • usuiat Android Engineer


Summary

  • Dates 2025.09.11 / 12:20 ~ 13:00 (40min)
  • Place Ladybug
  • Language Japanese (English interpretation available)

Intended audience

- Intermediate-level Compose developers and above - Those who want to understand Compose more deeply - Those who want to do something fun with Compose

Android is a trademark of Google LLC. The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. Android, Google Play and the Google Play logo are trademarks of Google LLC.

© 2014- DroidKaigi Committee