Composables
The composables library provides complex component implementations that are used by some Lumo UI components.
https://github.com/nomanr/composables
While I strongly prefer to avoid abstracting components into a separate library, the composables library was created as a necessary compromise to handle complex component implementations that would otherwise bloat the UI components.
Why do I need it?
Some UI components like Modal Bottom Sheet and Slider require complex implementations involving animations, state management, and intricate layouts. The composables library was introduced as a last resort to handle these implementations while keeping the end components lightweight.
What if I don’t want to use it?
If you don’t want to use the composables library, you can copy-paste the components from the GitHub into your app.
Installation
dependencies {
implementation("com.nomanr:composables:$version")
}
Check the latest version on GitHub.
Components Using Composables
The following Lumo UI components use implementations from the composables library: