kstatemachine
Splitties
kstatemachine | Splitties | |
---|---|---|
10 | 3 | |
317 | 2,451 | |
3.5% | - | |
8.7 | 7.8 | |
about 1 month ago | 7 months ago | |
Kotlin | Kotlin | |
Boost Software License 1.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kstatemachine
-
Dart 3
Kotlin has some pretty nice StateMachine DSL libraries out there, like https://github.com/nsk90/kstatemachine
- KStateMachine now has Multiplatform support, iOS artefact is already available
- KStateMachine v0.20.0 with built-in Kotlin Coroutines support released!
-
New version of KStateMachine library has arrived (0.18.1)
docs page: https://nsk90.github.io/kstatemachine/
- Kotlin DSL library for creating finite state machines (FSM) and hierarchical state machines (HSM).
-
Kotlin state machine implementation
https://github.com/nsk90/kstatemachine with HSM support and many other features.
Splitties
-
Useful utilities, extensions, base classes
https://github.com/LouisCAD/Splitties don’t use it because I think it leads to dependency bloat but there you go
-
Future of single activity with multiple fragment!!!
I've successfully used single activity with multiple fragments in the past. In one app we even dropped the fragments and inflated custom views (fueled with splitties: https://github.com/LouisCAD/Splitties when compose was in early stage) with screens logic implemented as suspendable functions.
-
Kotlin Team AMA #3: Ask Us Anything
XML is not the only way to use Android Views. With Kotlin, you can get pretty compelling results: https://github.com/LouisCAD/Splitties/tree/main/modules/views-dsl#ide-preview
What are some alternatives?
xstate - Actor-based state management & orchestration for complex app logic.
kable - Kotlin Asynchronous Bluetooth Low-Energy
kfsm - Finite State Machine in Kotlin
multiplatform-compose - A demo to show usage of Jetbrains Compose in Android and iOS.
python-statemachine - Python Finite State Machines made easy.
kotlin-multiplatform-libsodium - A kotlin multiplatform wrapper for libsodium, using directly built libsodium for jvm and native, and libsodium.js for js targets.
mutekt - Simplify mutating "immutable" state models (a Kotlin multiplatform library)
kotlin-libui - Kotlin/Native interop to libui: a portable GUI library
FlowMVI - A Kotlin Multiplatform MVI library based on coroutines with a rich DSL and a powerful plugin system.
kotlin-wrappers - Kotlin wrappers for popular JavaScript libraries
automata - A Dart DSL for finite state machine and state charts
kotlinx.html - Kotlin DSL for HTML