File tree Expand file tree Collapse file tree 7 files changed +119
-3
lines changed Expand file tree Collapse file tree 7 files changed +119
-3
lines changed Original file line number Diff line number Diff line change 81
81
1 . ` git merge --no-ff origin/yourname/kotlin-v0.1.0 `
82
82
1 . ` git push origin gh-pages `
83
83
84
- 1 . Once Maven artifacts are synced, update the workflow version used by the tutorial in
84
+ 1 . _ Don't do this until the tutorial gets updated. _ Once Maven artifacts are synced, update the workflow version used by the tutorial in
85
85
` samples/tutorial/build.gradle ` .
86
86
87
87
### Validating Markdown
Original file line number Diff line number Diff line change 1
1
# Tutorial
2
2
3
+ ## Stale Docs Warning
4
+
5
+ ** This tutorial is tied to an older version of Workflow, and relies on API that has been deprecated or deleted.**
6
+ The general concepts are the same, and refactoring to the current API is straightforward,
7
+ so it is still worthwhile to work through the tutorial in its current state until we find time to update it.
8
+ (Track that work [ here] ( https://github.com/square/workflow-kotlin/issues/905 )
9
+ and [ here] ( https://github.com/square/workflow-kotlin/issues/884 ) .)
10
+
11
+ Here's a summary of what has changed, and what replaces what:
12
+
13
+ - Use of ` ViewRegistry ` is now optional, and rare.
14
+ Have your renderings implement ` AndroidScreen ` or ` ComposeScreen ` to avoid it.
15
+ - The API for binding a rendering to UI code has changed as follows, and can all
16
+ be avoided if you use ` ComposeScreen ` :
17
+ - ` ViewFactory<in RenderingT : Any> ` is replaced by ` ScreenViewFactory<in ScreenT : Screen> ` .
18
+ -` LayoutRunner<RenderingT : Any> ` is replaced by ` ScreenViewRunner<in ScreenT : Screen> ` .
19
+ - ` LayoutRunner.bind ` is replaced by ` ScreenViewFactory.fromViewBinding ` .
20
+ - ` BackStackScreen ` has been moved to package ` com.squareup.workflow1.ui.navigation ` .
21
+ - ` EditText.updateText ` and ` EditText.setTextChangedListener ` are replaced by ` TextController `
22
+
3
23
## Overview
4
24
5
25
Oh hi! Looks like you want build some software with Workflows! It's a bit different from traditional
Original file line number Diff line number Diff line change 2
2
3
3
_ Let's get something on the screen..._
4
4
5
- _ Note that this tutorial differs slightly from the latest [ documentation] ( https://square.github.io/workflow/ ) . However the core concepts are the same, you can easily refactor your completed tutorial to reflect the latest API if you wish._
5
+ ## Stale Docs Warning
6
+
7
+ ** This tutorial is tied to an older version of Workflow, and relies on API that has been deprecated or deleted.**
8
+ The general concepts are the same, and refactoring to the current API is straightforward,
9
+ so it is still worthwhile to work through the tutorial in its current state until we find time to update it.
10
+ (Track that work [ here] ( https://github.com/square/workflow-kotlin/issues/905 )
11
+ and [ here] ( https://github.com/square/workflow-kotlin/issues/884 ) .)
12
+
13
+ Here's a summary of what has changed, and what replaces what:
14
+
15
+ - Use of ` ViewRegistry ` is now optional, and rare.
16
+ Have your renderings implement ` AndroidScreen ` or ` ComposeScreen ` to avoid it.
17
+ - The API for binding a rendering to UI code has changed as follows, and can all
18
+ be avoided if you use ` ComposeScreen ` :
19
+ - ` ViewFactory<in RenderingT : Any> ` is replaced by ` ScreenViewFactory<in ScreenT : Screen> ` .
20
+ -` LayoutRunner<RenderingT : Any> ` is replaced by ` ScreenViewRunner<in ScreenT : Screen> ` .
21
+ - ` LayoutRunner.bind ` is replaced by ` ScreenViewFactory.fromViewBinding ` .
22
+ - ` BackStackScreen ` has been moved to package ` com.squareup.workflow1.ui.navigation ` .
23
+ - ` EditText.updateText ` and ` EditText.setTextChangedListener ` are replaced by ` TextController `
6
24
7
25
## Setup
8
26
Original file line number Diff line number Diff line change 2
2
3
3
_ Multiple Screens and Navigation_
4
4
5
+ ## Stale Docs Warning
6
+
7
+ ** This tutorial is tied to an older version of Workflow, and relies on API that has been deprecated or deleted.**
8
+ The general concepts are the same, and refactoring to the current API is straightforward,
9
+ so it is still worthwhile to work through the tutorial in its current state until we find time to update it.
10
+ (Track that work [ here] ( https://github.com/square/workflow-kotlin/issues/905 )
11
+ and [ here] ( https://github.com/square/workflow-kotlin/issues/884 ) .)
12
+
13
+ Here's a summary of what has changed, and what replaces what:
14
+
15
+ - Use of ` ViewRegistry ` is now optional, and rare.
16
+ Have your renderings implement ` AndroidScreen ` or ` ComposeScreen ` to avoid it.
17
+ - The API for binding a rendering to UI code has changed as follows, and can all
18
+ be avoided if you use ` ComposeScreen ` :
19
+ - ` ViewFactory<in RenderingT : Any> ` is replaced by ` ScreenViewFactory<in ScreenT : Screen> ` .
20
+ -` LayoutRunner<RenderingT : Any> ` is replaced by ` ScreenViewRunner<in ScreenT : Screen> ` .
21
+ - ` LayoutRunner.bind ` is replaced by ` ScreenViewFactory.fromViewBinding ` .
22
+ - ` BackStackScreen ` has been moved to package ` com.squareup.workflow1.ui.navigation ` .
23
+ - ` EditText.updateText ` and ` EditText.setTextChangedListener ` are replaced by ` TextController `
24
+
5
25
## Setup
6
26
7
27
To follow this tutorial, launch Android Studio and open this folder (` samples/tutorial ` ).
Original file line number Diff line number Diff line change 1
1
# Step 3
2
2
3
- _ State throughout a tree of workflows_
3
+ ## Stale Docs Warning
4
+
5
+ ** This tutorial is tied to an older version of Workflow, and relies on API that has been deprecated or deleted.**
6
+ The general concepts are the same, and refactoring to the current API is straightforward,
7
+ so it is still worthwhile to work through the tutorial in its current state until we find time to update it.
8
+ (Track that work [ here] ( https://github.com/square/workflow-kotlin/issues/905 )
9
+ and [ here] ( https://github.com/square/workflow-kotlin/issues/884 ) .)
10
+
11
+ Here's a summary of what has changed, and what replaces what:
12
+
13
+ - Use of ` ViewRegistry ` is now optional, and rare.
14
+ Have your renderings implement ` AndroidScreen ` or ` ComposeScreen ` to avoid it.
15
+ - The API for binding a rendering to UI code has changed as follows, and can all
16
+ be avoided if you use ` ComposeScreen ` :
17
+ - ` ViewFactory<in RenderingT : Any> ` is replaced by ` ScreenViewFactory<in ScreenT : Screen> ` .
18
+ -` LayoutRunner<RenderingT : Any> ` is replaced by ` ScreenViewRunner<in ScreenT : Screen> ` .
19
+ - ` LayoutRunner.bind ` is replaced by ` ScreenViewFactory.fromViewBinding ` .
20
+ - ` BackStackScreen ` has been moved to package ` com.squareup.workflow1.ui.navigation ` .
21
+ - ` EditText.updateText ` and ` EditText.setTextChangedListener ` are replaced by ` TextController `
4
22
5
23
## Setup
6
24
Original file line number Diff line number Diff line change 2
2
3
3
_ Refactoring and rebalancing a tree of Workflows_
4
4
5
+ ## Stale Docs Warning
6
+
7
+ ** This tutorial is tied to an older version of Workflow, and relies on API that has been deprecated or deleted.**
8
+ The general concepts are the same, and refactoring to the current API is straightforward,
9
+ so it is still worthwhile to work through the tutorial in its current state until we find time to update it.
10
+ (Track that work [ here] ( https://github.com/square/workflow-kotlin/issues/905 )
11
+ and [ here] ( https://github.com/square/workflow-kotlin/issues/884 ) .)
12
+
13
+ Here's a summary of what has changed, and what replaces what:
14
+
15
+ - Use of ` ViewRegistry ` is now optional, and rare.
16
+ Have your renderings implement ` AndroidScreen ` or ` ComposeScreen ` to avoid it.
17
+ - The API for binding a rendering to UI code has changed as follows, and can all
18
+ be avoided if you use ` ComposeScreen ` :
19
+ - ` ViewFactory<in RenderingT : Any> ` is replaced by ` ScreenViewFactory<in ScreenT : Screen> ` .
20
+ - ` LayoutRunner<RenderingT : Any> ` is replaced by ` ScreenViewRunner<in ScreenT : Screen> ` .
21
+ - ` LayoutRunner.bind ` is replaced by ` ScreenViewFactory.fromViewBinding ` .
22
+ - ` BackStackScreen ` has been moved to package ` com.squareup.workflow1.ui.navigation ` .
23
+ - ` EditText.updateText ` and ` EditText.setTextChangedListener ` are replaced by ` TextController `
24
+
5
25
## Setup
6
26
7
27
To follow this tutorial, launch Android Studio and open this folder (` samples/tutorial ` ).
Original file line number Diff line number Diff line change 2
2
3
3
_ Unit and Integration Testing Workflows_
4
4
5
+ ## Stale Docs Warning
6
+
7
+ ** This tutorial is tied to an older version of Workflow, and relies on API that has been deprecated or deleted.**
8
+ The general concepts are the same, and refactoring to the current API is straightforward,
9
+ so it is still worthwhile to work through the tutorial in its current state until we find time to update it.
10
+ (Track that work [ here] ( https://github.com/square/workflow-kotlin/issues/905 )
11
+ and [ here] ( https://github.com/square/workflow-kotlin/issues/884 ) .)
12
+
13
+ Here's a summary of what has changed, and what replaces what:
14
+
15
+ - Use of ` ViewRegistry ` is now optional, and rare.
16
+ Have your renderings implement ` AndroidScreen ` or ` ComposeScreen ` to avoid it.
17
+ - The API for binding a rendering to UI code has changed as follows, and can all
18
+ be avoided if you use ` ComposeScreen ` :
19
+ - ` ViewFactory<in RenderingT : Any> ` is replaced by ` ScreenViewFactory<in ScreenT : Screen> ` .
20
+ - ` LayoutRunner<RenderingT : Any> ` is replaced by ` ScreenViewRunner<in ScreenT : Screen> ` .
21
+ - ` LayoutRunner.bind ` is replaced by ` ScreenViewFactory.fromViewBinding ` .
22
+ - ` BackStackScreen ` has been moved to package ` com.squareup.workflow1.ui.navigation ` .
23
+ - ` EditText.updateText ` and ` EditText.setTextChangedListener ` are replaced by ` TextController `
24
+
5
25
## Setup
6
26
7
27
To follow this tutorial, launch Android Studio and open this folder (` samples/tutorial ` ).
You can’t perform that action at this time.
0 commit comments