Decompose is a Kotlin Multiplatform library for breaking down your code into lifecycle-aware business logic components (aka BLoC), with routing functionality and pluggable UI (Compose, Android Views, SwiftUI, Kotlin/React, etc.).

Features

  • Better separation of concerns
  • Decompose draws clear boundaries between UI and non-UI code
  • Pluggable platform-specific UI (Compose, SwiftUI, Kotlin/React, etc.)
  • Business logic code is testable with pure multiplatform unit tests
  • Proper dependency injection (DI) and inversion of control (IoC) via constructor, including but not limited to type-safe arguments
  • Components in the back stack are not destroyed, they continue working in background without UI
  • Instances retaining (aka ViewModels) over configuration changes (mostly useful in Android)
  • Lifecycle-aware components
  • Shared navigation logic

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

Apache License V2.0

Follow Decompose Kotlin

Decompose Kotlin Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Decompose Kotlin!

Additional Project Details

Programming Language

Kotlin

Related Categories

Kotlin Frameworks

Registered

2024-02-08