GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — wip: pseudo cache is still wip · daquino/Android-RxJava@6d0b0f3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • README.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+4-5Lines changed: 4 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -85,18 +85,17 @@ Note that the `Func3` function that checks for validity, kicks in only after ALL
8585
The value of this technique becomes more apparent when you have more number of input fields in a form. Handling it otherwise with a bunch of booleans makes the code cluttered and kind of difficult to follow. But using `.combineLatest` all that logic is concentrated in a nice compact block of code (I still use booleans but that was to make the example more readable).
8686

8787

88+
## Work in Progress:
89+
90+
Examples that I would like to have here, but haven't found the time yet to flush out.
91+
8892
### Retrieve data first from a (pseudo) cache, then a network call - using [`.concat`](http://reactivex.io/documentation/operators/concat.html)
8993

9094
Using concat, you can retrieve information from an observable first (presumably this one is fast like retrieveing from a disk cache) and show preliminary data to a user. Subsequently, when the longer running 2nd observable is complete (say a network call), you can update the results on the interface using the latest information.
9195

9296
For the purposes of illustration i use an in-memory `List` (not an actual disk cache), but shoot out a real network call to the github api so it gives you a feel of how this can really be applied in production apps.
9397

9498

95-
## Work in Progress:
96-
97-
Examples that I would like to have here, but haven't found the time yet to flush out.
98-
99-
10099
### Pagination (wip)
101100

102101
a. Simple pagination

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.