Merge pull request #21 from PaulWoitaschek/patch-1
No getValue(). Did you mean getKey()?
This commit is contained in:
commit
cf1e04a039
1 changed files with 2 additions and 2 deletions
|
@ -44,12 +44,12 @@ Create a store using a builder, the only requirement is to include a `.fetcher()
|
|||
|
||||
``` java
|
||||
Store<Article> ArticleStore = StoreBuilder.<String>builder()
|
||||
.nonObservableFetcher(barCode -> api.getArticle(barcode.getValue()))
|
||||
.nonObservableFetcher(barCode -> api.getArticle(barcode.getKey()))
|
||||
.open();
|
||||
|
||||
|
||||
Store<Article> ArticleStore = StoreBuilder.<String>builder()
|
||||
.fetcher(barCode -> retrofitApi.getArticleObservable(barcode.getValue()))
|
||||
.fetcher(barCode -> retrofitApi.getArticleObservable(barcode.getKey()))
|
||||
.open();
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue