workflow-kotlin
workflow-kotlin copied to clipboard
A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
Errors will crash the app. If it is an expected error, use `onErrorReturn` and friends to handle errors. [Slack convo](https://square.slack.com/archives/C1MDTM2FR/p1557419092411900)
If you need to reference a workflow, you should use the `Workflow` type. `StatefulWorkflow` and `StatelessWorkflow` are implementation details. The only place they should ever be used is as the...
# Abstract This is a proposal for a mini-library built on top of Workflows for creating "stepped" flows – a DAG of screens that work together to accomplish some task,...
Unfortunately, we had to write a custom `share` operator for the keystroke flow, since the keystroke worker is used by two separate workflows simultaneously, and without it they each get...
Starting in 1.3.0-RC, `receiveOrClosed` exists – however it's marked as `@InternalCoroutinesApi`. There are plans to make it public, but it's blocked by inline class stability (https://github.com/Kotlin/kotlinx.coroutines/pull/1343#discussion_r304082103).
Context: https://github.com/square/workflow/pull/571#discussion_r318783796
Basically need to merge the additional app screens from the [demo repo](https://github.com/square/droidcon-nyc-2019-workflow-game) into the main sample, so you can restart the game, have a time machine, etc.
Inspired by https://www.androidpolice.com/2019/09/09/spotify-seekable-audio-progress-bar/ May have to do custom layout b/c this is media specific
We need example of driving long, random access list from a database — RecyclerView pulling from Rooms or SqlDelight