@@ -21,7 +21,7 @@ public typealias ViewBindingInflater<BindingT> = (LayoutInflater, ViewGroup?, Bo
21
21
* This is the interface you'll implement directly to update Android view code
22
22
* from your [Screen] renderings. A [ScreenViewRunner] serves as the strategy
23
23
* object of a [ScreenViewHolder] instantiated by a [ScreenViewFactory] -- the
24
- * runner provides the implmenetation for the holder's [ScreenViewHolder.show]
24
+ * runner provides the implementation for the holder's [ScreenViewHolder.show]
25
25
* method.
26
26
*/
27
27
@WorkflowUiExperimentalApi
@@ -142,7 +142,7 @@ public interface ScreenViewFactory<in ScreenT : Screen> : ViewRegistry.Entry<Scr
142
142
143
143
/* *
144
144
* Creates a [ScreenViewFactory] that builds [View] instances entirely from code,
145
- * using a [ScreenViewRunner] created by [constructor ] to update it.
145
+ * using a [ScreenViewRunner] created by [buildView ] to update it.
146
146
*/
147
147
@WorkflowUiExperimentalApi
148
148
public inline fun <reified ScreenT : Screen > fromCode (
@@ -174,11 +174,8 @@ public interface ScreenViewFactory<in ScreenT : Screen> : ViewRegistry.Entry<Scr
174
174
* for you.
175
175
*
176
176
* Use the [ScreenViewFactoryFinder] in [environment] to return the [ScreenViewFactory]
177
- * bound to the type of the receiving [Screen].
178
- *
179
- * - Call [ScreenViewFactory.startShowing] to create and initialize a new [View]
180
- * - If you don't particularly need to mess with the [ScreenViewFactory] before creating
181
- * a view, use [Screen.startShowing] instead of this method.
177
+ * bound to the type of the receiving [Screen]. Call [ScreenViewFactory.startShowing] to
178
+ * create and initialize a new [View].
182
179
*/
183
180
@WorkflowUiExperimentalApi
184
181
public fun <ScreenT : Screen > ScreenT.toViewFactory (
@@ -195,7 +192,8 @@ public fun <ScreenT : Screen> ScreenT.toViewFactory(
195
192
* Creates a [ScreenViewHolder] wrapping a [View] able to display a stream
196
193
* of [ScreenT] renderings, starting with [initialRendering].
197
194
*
198
- * To add more initialization behavior (typically a call to [WorkflowLifecycleOwner.installOn]),
195
+ * To add more initialization behavior (typically a call to
196
+ * [WorkflowLifecycleOwner.installOn][com.squareup.workflow1.ui.androidx.WorkflowLifecycleOwner.installOn]),
199
197
* provide a [viewStarter].
200
198
*/
201
199
@Suppress(" DEPRECATION" )
0 commit comments