File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/container Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package com.squareup.workflow1.ui.container
2
2
3
3
import android.app.Dialog
4
4
import android.graphics.Rect
5
- import com.squareup.workflow1.ui.Screen
6
5
import com.squareup.workflow1.ui.ViewEnvironment
7
6
import com.squareup.workflow1.ui.WorkflowUiExperimentalApi
8
7
import com.squareup.workflow1.ui.compatible
@@ -23,11 +22,12 @@ public interface OverlayDialogHolder<in OverlayT : Overlay> {
23
22
public val environment: ViewEnvironment
24
23
25
24
/* *
26
- * The function that is run by [show] to update [dialog] with a new [Screen ] rendering and
25
+ * The function that is run by [show] to update [dialog] with a new [Overlay ] rendering and
27
26
* [ViewEnvironment].
28
27
*
29
28
* Prefer calling [show] to using this directly, to ensure that [overlayOrNull] is
30
- * maintained correctly, and [showing] keeps working.
29
+ * maintained correctly, and [showing] keeps working. Or most commonly,
30
+ * allow `WorkflowViewStub.show` to call it for you.
31
31
*/
32
32
public val runner: (rendering: OverlayT , environment: ViewEnvironment ) -> Unit
33
33
You can’t perform that action at this time.
0 commit comments