File tree 2 files changed +10
-1
lines changed
java/com/spring/androidconductormvvmsample/controllers
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -44,5 +44,8 @@ class DetailController : Controller() {
44
44
view.btnPopPush.clicks().subscribe({
45
45
flowControl.presentFromRoot(DetailController ())
46
46
})
47
+ view.btnPush.clicks().subscribe({
48
+ flowControl.push(DetailController ())
49
+ })
47
50
}
48
51
}
Original file line number Diff line number Diff line change 33
33
android : id =" @+id/btnPopPush"
34
34
android : layout_width =" match_parent"
35
35
android : layout_height =" wrap_content"
36
- android : text =" Click Me to pop and push to another controller" />
36
+ android : text =" Click Me pop to root and push another controller" />
37
+
38
+ <Button
39
+ android : id =" @+id/btnPush"
40
+ android : layout_width =" match_parent"
41
+ android : layout_height =" wrap_content"
42
+ android : text =" Click Me to push new controller" />
37
43
38
44
</LinearLayout >
You can’t perform that action at this time.
0 commit comments