GeezerVison is showing github.com — Merge pull request #28 from bryant1410/patch-1 · offbye/RxJava-Android-Samples@8f5fb16
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: README.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -55,7 +55,7 @@ The code for this example has already been written by one Mr.skehlet in the inte |
55 | 55 |
|
56 | 56 | ### Double binding with TextViews |
57 | 57 |
|
58 | | -Auto-updating views are a pretty cool thing. If you've dealt with Angular JS before, they have a pretty nifty concept called "two-way data binding", where when an HTML element is bound to a model/entity object, it constantly "listens" to changes on that entity and auto-updates its state based on the model. Using the technique in this example, you could potentially use a pattern like the [Presentation View Model pattern](http://martinfowler.com/eaaDev/PresentationModel.html) with great ease. |
| 58 | +Auto-updating views are a pretty cool thing. If you've dealt with Angular JS before, they have a pretty nifty concept called "two-way data binding", so when an HTML element is bound to a model/entity object, it constantly "listens" to changes on that entity and auto-updates its state based on the model. Using the technique in this example, you could potentially use a pattern like the [Presentation View Model pattern](http://martinfowler.com/eaaDev/PresentationModel.html) with great ease. |
59 | 59 |
|
60 | 60 | While the example here is pretty rudimentary, the technique used to achieve the double binding using a `Publish Subject` is much more interesting. |
61 | 61 |
|
|