Decompose

Kotlin Multiplatform lifecycle-aware business logic components

Лицензия

Лицензия

Категории

Категории

Данные
Группа

Группа

com.arkivanov.decompose
Идентификатор

Идентификатор

decompose-metadata
Последняя версия

Последняя версия

0.2.4
Дата

Дата

Тип

Тип

module
Описание

Описание

Decompose
Kotlin Multiplatform lifecycle-aware business logic components
Ссылка на сайт

Ссылка на сайт

https://github.com/arkivanov/Decompose
Система контроля версий

Система контроля версий

https://github.com/arkivanov/Decompose

Скачать decompose-metadata

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Maven Central License Twitter URL

badge badge badge badge badge badge

Decompose

Please see the project website for documentation and APIs.

Decompose is a Kotlin Multiplatform lifecycle-aware business logic components (aka BLoCs) with routing functionality and pluggable UI (Android Views, Jetpack Compose, SwiftUI, JS React, etc.) This project is inspired by Badoos RIBs fork of the Uber RIBs framework.

Setup

Setup Decompose in your Gradle project

Overview

  • Components - every component represents a piece of logic with lifecycle and optional pluggable UI.
  • ComponentContext - provided to every component with the tools for routing, state keeping, instance keeping and lifecycle
  • Routers - responsible for managing components with a backstack and its own Lifecycle
  • StateKeeper - preserve state during configuration changes and/or process death
  • InstanceKeeper - retain instances in your components (similar to AndroidX ViewModel)

Samples

Check out the project website for a full description of each sample.

Articles

Author

Twitter: @arkann1985

If you like this project you can always Buy Me A Coffee ;-)

Версии библиотеки

Версия
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0