Skip to content

Commit 39e7b38

Browse files
committed
docz
1 parent 5d457a5 commit 39e7b38

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

README.adoc

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,26 +239,45 @@ link:./src/test/groovy/ch/petikoch/examples/mvvm_rxjava/example8[]
239239

240240
=== Example 9: Structural changes at runtime in the View (and GUI composition)
241241

242-
TODO
243-
244242
link:./src/main/java/ch/petikoch/examples/mvvm_rxjava/example9[]
245243

244+
* So far the views were very static
245+
* Now we have structural changes at runtime, think of a wizard with it's steps
246+
* Parts of the views remain static (header, footer)
247+
* Therefore we need some kind of view composition
248+
249+
image::example9.png[]
250+
251+
Tests:
252+
246253
link:./src/test/groovy/ch/petikoch/examples/mvvm_rxjava/example9[]
247254

248255
=== Example 10: Composition of GUI's and communication from outer ViewModel's to inner ViewModel's
249256

250-
TODO
251-
252257
link:./src/main/java/ch/petikoch/examples/mvvm_rxjava/example10[]
253258

259+
* View / ViewModel composition
260+
** How can on "outer" component communicate with "inner" components?
261+
*** How to propagate the "edit" state to the inner components?
262+
263+
image::example10.png[]
264+
265+
Tests:
266+
254267
link:./src/test/groovy/ch/petikoch/examples/mvvm_rxjava/example10[]
255268

256269
=== Example 11: Composition of GUI's and communication from inner ViewModel's to outer ViewModel's (dirty flag, Save Button)
257270

258-
TODO
259-
260271
link:./src/main/java/ch/petikoch/examples/mvvm_rxjava/example11[]
261272

273+
* View / ViewModel composition
274+
** How can on "inner" component communicate with an "outer" component?
275+
*** "Dirty" flag of "inner" component enables the "Save" button of "outer" component
276+
277+
image::example11.png[]
278+
279+
Tests:
280+
262281
link:./src/test/groovy/ch/petikoch/examples/mvvm_rxjava/example11[]
263282

264283
== Requirements

docs/example10.png

66.9 KB
Loading

docs/example11.png

69.9 KB
Loading

docs/example9.png

53.2 KB
Loading

0 commit comments

Comments
 (0)