workflow-kotlin
workflow-kotlin copied to clipboard
A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
Seems like we should be able to maintain an idle state based on running workers or something? Compose does something like this for related coroutines, we think. Note the idling...
`TextChangedListenerWatcher` tracks the most recent text (`oldString`), so that it doesn't notify the listener if the text is "updated" to the same thing. However, since `updateText` does not notify this...
Expensive view configuration often only needs to be performed when a value coming in from the rendering or the view environment _changes_. Sometimes these values need to be remembered across...
> I also think that any configuration of transition animation should be decoupled from backstacks, it's more fundamental than that. In non-compose, I want to tie it to `WorkflowViewStub` instead....
Probably only be on the UI overhaul branch. Not sure of exact recipe. Played a full game, clicked exit. Maybe hit Back to leave the app? ``` ==================================== 0 LIBRARY...
It didn't have to be a function, it's just a convenience that makes it easier to implement `ViewEnvironmentKey`, should have written it two years ago. I'd like to make a...
These four lines happen a lot. ```kotlin ScreenViewFactory.forBuiltView { initialRendering, initialEnv, context, container -> initialRendering.wrapped.toViewFactory(initialEnv) .unwrapping( ``` I wonder if we can do better. ```kotlin fun ScreenViewFactory.forWrapperScreen( unwrap: (WrapperT) ->...