workflow-kotlin
workflow-kotlin copied to clipboard
A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.
```kotlin MyWorker() .running(context, "key") ``` This requires turning `Worker` in Kotlin into an abstract class and making `Worker.run` protected, to reduce confusion. We need to something similar for Workflow, see...
We should probably fix it so that an existing WLO will be destroyed and replaced, or else we should throw. I prefer the former b/c it seems pretty pathological to...
Turns out `getGlobalVisibleRect` can return null if the view is completely clipped. What should we do in that case? How does it even happen? Should we ditch all the dialogs...
Getting to be like 50/50. ``` com.squareup.sample.mainactivity.TodoAppTest > navigatesToListAndBack_portrait[test(AVD) - 5.0.2] FAILED java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.activity.OnBackPressedDispatcher.addCallback(androidx.lifecycle.LifecycleOwner, androidx.activity.OnBackPressedCallback)' on a null object reference at com.squareup.workflow1.ui.HandleBackPressWhenAttached.onViewAttachedToWindow(BackPressHandler.kt:77) Tests on...
https://developer.android.com/reference/android/widget/TextView#setTextKeepState(java.lang.CharSequence) method is available since API 1, and allows to use `CharSequence`s instead of `Stringg`s. It allows, for example, nicer handling of different substates as cursor position, selection, and so...
In the text input compose sample, typing two values, making a selection and banging on the swap button crashes. It's like a soap bubble. ``` java.lang.IllegalArgumentException: offset(12) is out of...
* Missing `workflow1` in package names * A lot of missing copyright statements.
GitHub actions running on PRs from forked only have access to the _source_ repo's secrets, not the target's. The verification workflow needs our API token. This is a known issue:...