workflow-kotlin
workflow-kotlin copied to clipboard
A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
@zach-klippenstein @bencochran and I just independently had the same thought: what if the DI-esque Kotlin samples were changed s.t. all workflows were `object`, and all injection happened via Props, using...
Right now it tells you which workers are duplicates, but it doesn't tell you which workflow is rendering them. This makes it hard to troubleshoot crashes from workflows that are...
In Android Studio, right-click on `Main.kt` and choose Run. Press the spacebar Kaboom: ``` Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 13 at java.lang.String.substring(String.java:1963) at com.squareup.sample.hellotodo.EditTextWorkflowKt.insertCharAt(EditTextWorkflow.kt:99) at...
If you have a worker that is incorrectly implemented, in that it always returns `false` from `doesSameWorkAs` and its Flow completes immediately, your workflow will enter an infinite render loop....
If a `LayoutRunner` that is being used to render a view inside a `WorkflowViewStub` calls `backPressedHandler =` on the root view (the view passed to the `LayoutRunner`'s constructor), that view...
Timeout exceptions thrown from the coroutine library's `withTimeout` function are useless. We should catch and re-throw with a real exception that has a real stacktrace.
cc @rjrjr
We used to use Dependabot to ensure we kept our dependencies on their latest versions, but it does not support our `Dependencies.kt` file. There are a number of options here,...