workflow-kotlin
workflow-kotlin copied to clipboard
A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
`StatelessWorkflow` is very nice, I'd love a new workflow which does not have state or output. proposed implementation: ```kotlin abstract class RenderingWorkflow : StatelessWorkflow() ```
Quoth @zach-klippenstein: > TIL about Perfetto in Android 10, it's integration with `android.os.Trace` and we should probably replace `TracingDiagnosticListener` with one or both of those things.
If a `WorkflowViewStub` is created, and then `update()` called before it is added to another view, the view returned from the registry will never be added to the parent, and...
They should return `EnvironmentScreen` instead of `EnvironmentScreen`
Quoth @lucamtudor: > I’ve started playing with BackStackScreens & ComposeRenderings by changing a bit the compose-samples project. I’ve noticed the “composable content” just disappears when animations are kicking-in. I assume...
How did that happen? How is it even building?
Find a home for this. Ideally the same place that we share whatever idling resource cleverness that we've been hoarding. ```kotlin /** * Base class for matchers that examine the...
Oops, forgot to open source this: ```kotlin /** * A wrapper extension for [com.squareup.workflow1.ui.compose.asMutableState] that returns * [TextFieldValue]. */ @Composable fun TextController.asMutableTextFieldValueState(): MutableState { var textControllerValue by asMutableState() var textFieldValue...
The Kotlinx.benchmark uses JMH under the hood and is Multiplatform friendly.
And keep an eye out for `hellocompose/HelloWorkflow` v. `BodyAndModalsScreen` https://workflow-community.slack.com/archives/CHTFPR277/p1649055721581769