workflow-kotlin
workflow-kotlin copied to clipboard
A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
Not sure why?
https://workflow-community.slack.com/archives/CHTFPR277/p1657276987100999 Noticing a really strange issue with `BackStackScreen` and Compose – given there is `BackButtonScreen` or `BackHandler`/`backPressedHandler` in the stack and I press back button, the UI seems to block...
Not intended to be merged, just for easy viewing.
The Android-specific `renderWorkflowIn` function is a convenience function that minimizes the fuss required to get androidx to save and restore `TreeSnapshot`. Because it maps our usual `StateFlow` to just `StateFlow`,...
I'm realizing that the artifacts plugin should probably have a check which compares the packaging to the module type. _Originally posted by @RBusarow in https://github.com/square/workflow-kotlin/pull/795#discussion_r903865599_
Either link to a monotonic frame clock that is based on Choreographer's frame rate like AndroidUiDispatcher.Main in molecule - https://github.com/cashapp/molecule#frame-clock . Or decide permanently what value we want.
I'm open to bike-shedding the name. 😄 fixes #657
Distilling [slack monologue thread](https://workflow-community.slack.com/archives/CHTFPR277/p1615574769018700): * It'd be nice to have a way to conflate renderings when they're coming "too fast". * Thinking in particular of attractive techniques people resort to...
Internally we have `DisplayDataRendering` and `DisplayDataLayoutRunner`, built around this simple interface: ```kotlin interface DisplayDataRendering { val displayData: D } ``` They work well, we should open source.
Reported by @SalvatoreT: > Someone is including the 1.8.0-beta01 and the SDK I work on which doesn’t use the beta. Their app throws this error (which I can reproduce). >...