What problem does it solve?
This Skill unit provides solutions for managing UI patterns across multiple platforms (Android, iOS, Desktop, Web) using Compose and Compose Multiplatform, focusing on state management, navigation, theming, performance, and platform-specific UI.
Core Features & Use Cases
- State Management: Implement ViewModel + Single State Object and Event Sink Pattern for UI state management.
- Navigation: Utilize Type-Safe Navigation for consistent route management.
- Composable Design: Learn best practices for building modular and reusable UI components.
- Platform-Specific UI: Use
expect/actual for platform-specific composables and handle status bar theming.
- Performance: Apply Stable Types and key() for optimizing recomposition and Lazy Lists for deferred reads.
- Theming: Employ Material 3 Dynamic Theming for adaptable UI design.
- Anti-Patterns: Avoid common pitfalls in Compose Multiplatform development.
- References: Cite relevant skills for further guidance, such as
android-clean-architecture and kotlin-coroutines-flows.
Quick Start
Learn how to implement ViewModel + Single State Object for a Compose Multiplatform app.