Skip to content

Commit df717f6

Browse files
authored
Fix bad link in Compose README.md
1 parent 7bfb854 commit df717f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow-ui/compose/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ We have looked at a few ways of implementing this:
115115

116116
### UI Factory support
117117

118-
Workflow UI is built around UI factory interfaces like [`ScreenViewFactory`](https://github.com/square/workflow-kotlin/blob/v1.12.1-beta06/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/ScreenViewFactory.kt) and [`OverlayDialogFactory`](https://github.com/square/workflow-kotlin/blob/v1.12.1-beta06/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/navigation/OverlayDialogFactory.kt), functions that build and update classic Android `View` and `Dialog` instances for each type of view model rendered by a Workflow tree. To find the appropriate factory to express a rendering of a particular type, container classes like [`WorkflowViewStub`] delegate most of their work to factory finder interfaces like [`ScreenViewFactoryFinder`](https://github.com/square/workflow-kotlin/blob/v1.12.1-beta06/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/ScreenViewFactoryFinder.kt) and `[OverlayDialogFactoryFinder]`(https://github.com/square/workflow-kotlin/blob/v1.12.1-beta06/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/navigation/OverlayDialogFactoryFinder.kt).
118+
Workflow UI is built around UI factory interfaces like [`ScreenViewFactory`](https://github.com/square/workflow-kotlin/blob/v1.12.1-beta06/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/ScreenViewFactory.kt) and [`OverlayDialogFactory`](https://github.com/square/workflow-kotlin/blob/v1.12.1-beta06/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/navigation/OverlayDialogFactory.kt), functions that build and update classic Android `View` and `Dialog` instances for each type of view model rendered by a Workflow tree. To find the appropriate factory to express a rendering of a particular type, container classes like [`WorkflowViewStub`] delegate most of their work to factory finder interfaces like [`ScreenViewFactoryFinder`](https://github.com/square/workflow-kotlin/blob/v1.12.1-beta06/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/ScreenViewFactoryFinder.kt) and [`OverlayDialogFactoryFinder`](https://github.com/square/workflow-kotlin/blob/v1.12.1-beta06/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/navigation/OverlayDialogFactoryFinder.kt).
119119

120120
To add seamless Compose support, we add another UI factory and finder interface pair: [`ScreenComposableFactory`](https://github.com/square/workflow-kotlin/blob/9bfd5119fabd0a3dfbc25bf7d93e52c7b31bb4cd/workflow-ui/compose/src/main/java/com/squareup/workflow1/ui/compose/ScreenComposableFactory.kt) and [`ScreenComposableFactoryFinder`](https://github.com/square/workflow-kotlin/blob/9bfd5119fabd0a3dfbc25bf7d93e52c7b31bb4cd/workflow-ui/compose/src/main/java/com/squareup/workflow1/ui/compose/ScreenComposableFactoryFinder.kt).
121121
And to make those as easy to use as possible, we introduce [`ComposeScreen`](https://github.com/square/workflow-kotlin/blob/9bfd5119fabd0a3dfbc25bf7d93e52c7b31bb4cd/workflow-ui/compose/src/main/java/com/squareup/workflow1/ui/compose/ComposeScreen.kt), a Compose analog to [`AndroidScreen`](https://github.com/square/workflow-kotlin/blob/v1.12.1-beta06/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/AndroidScreen.kt)

0 commit comments

Comments
 (0)