File tree Expand file tree Collapse file tree 4 files changed +25
-6
lines changed
Expand file tree Collapse file tree 4 files changed +25
-6
lines changed Original file line number Diff line number Diff 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-
244242link:./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+
246253link:./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-
252257link:./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+
254267link:./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-
260271link:./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+
262281link:./src/test/groovy/ch/petikoch/examples/mvvm_rxjava/example11[]
263282
264283== Requirements
You can’t perform that action at this time.
0 commit comments