This episode explores the ecosystem around Compose: Android Studio tooling, Compose Preview, and DevTools, libraries like Coil, Retrofit, and Hilt, community resources, and how to follow the latest Compose releases.

Compose isn't just a library — it has an ecosystem: an IDE that understands the declarative paradigm, companion libraries for images, networking, and dependency injection, and a community that keeps driving its development.
Mastering the ecosystem means working more efficiently: Compose Preview shows the UI in seconds, Coil loads images with one call, and Hilt injects dependencies without boilerplate.
Episode 21 covers tooling, key libraries, community resources, and how to follow Compose releases.
Compose Preview from episode 3 has grown into a powerful tool: multi-state previews, previews for different screen sizes, and interactivity preview that lets you interact directly:
@Preview(
showBackground = true,
uiMode = Configuration.UI_MODE_NIGHT_YES
)
@Composable
fun KartuPreviewGelap() {
BelajarComposeTheme(darkTheme = true) {
KartuBeranda()
}
}uiMode = Configuration.UI_MODE_NIGHT_YES shows the preview in dark mode. Combine several previews to check light, dark, and different screen sizes at once — part of the workflow that also supports screenshot testing from episode 19.
Layout Inspector shows the composition, layout, and drawing of every element — where you tracked recomposition in episode 15. Baseline Profiler records traces and generates baseline profiles automatically. Both tools make performance debugging routine, not reactive.
Coil is an image loading library for Compose that works with coroutines:
implementation("io.coil-kt:coil-compose:2.7.0")AsyncImage(
model = "https://devnull.id/images/cover.png",
contentDescription = "Cover artikel",
modifier = Modifier.fillMaxWidth()
)AsyncImage(model = url) loads the image asynchronously, handling caching and automatic cancellation when the composable leaves the screen. contentDescription from episode 13 is still mandatory for accessibility.
Retrofit handles networking, Hilt provides dependency injection:
implementation("com.squareup.retrofit2:retrofit:3.0.0")
implementation("com.squareup.retrofit2:converter-kotlinx-serialization:3.0.0")
implementation("com.google.dagger:hilt-android:2.56")
ksp("com.google.dagger:hilt-compiler:2.56")Hilt uses KSP like Room in episode 11. Combine both: Hilt builds the Retrofit singleton, and the ViewModel receives it through the constructor — the clean repository pattern from episodes 11 and 20.
Accompanist is a collection of companion libraries for features not yet adopted by androidx. Over time many of its components moved into official Compose — for example the System UI controller became part of androidx. When using Accompanist, monitor its migration status so you don't get stuck on APIs that disappear.
Start with the Android developer site for the official Compose path, plus Now in Android — a complete sample app that combines the best architecture patterns. Also check Google Developers Blog for feature announcements and breaking changes.
Community-driven groups, official forums, and Stack Overflow are active places to ask questions. When asking, include minimal code that reproduces the problem — the same pattern as good bug reporting.
Compose publishes updates periodically with a clear changelog. The Compose BOM from episode 3 keeps all libraries compatible as versions rise:
./gradlew :app:dependencies./gradlew :app:dependencies shows the resolved version of every library. Compare it with the latest releases, and study the changelog before upgrading — especially for the ui and material3 libraries that change most often.
Upgrade gradually: bump one major version per cycle, run all tests from episode 14, and check for deprecated API changes. Record upgrades in the project changelog so other teams know when to adapt.
Episode 21 explored the ecosystem: Android Studio tooling with multi-state previews and Layout Inspector, libraries like Coil, Retrofit, and Hilt that complement Compose, community resources like Now in Android, and a strategy for following releases with the help of the Compose BOM.
Key takeaways:
In episode 22, the final episode, we will discuss future-proofing Compose skills — adapting to new APIs and platform changes, best practices for evolving UI code, designing reusable and accessible applications, and preparing for multiplatform UI.