Skip to content

Commit d487718

Browse files
committed
Add demoapp screenshot in README
1 parent b28695a commit d487718

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,23 @@ enqueue(new Callback<YourModel>() {
5454
if(SmartCache.isResponseFromNetwork(response)) { ...
5555
```
5656

57+
### Demo app
58+
5759
For a complete example check [demoapp/](/demoapp).
5860

61+
![...](demoapp_scr.png)
62+
5963
### How it works
6064

6165
![...](how_it_works.png)
6266

6367
One request corresponds to two responses: a cache response and a network response. Loading content from your phone is faster than loading from network; therefore your app will show stale content while waiting for a fresh network response. (*Note:* If the network response comes first, cache won't happen.)
6468
69+
Help needed from contributors:
70+
71+
* Make it work with RxJava
72+
* Implement a pool of threads
73+
6574
### License
6675
6776
Copyright 2015-2021 Filip Dimitrovski

demoapp_scr.png

75.3 KB
Loading

0 commit comments

Comments
 (0)