Merge pull request #21 from PaulWoitaschek/patch-1

No getValue(). Did you mean getKey()?
This commit is contained in:
Alexio Mota 2017-01-05 15:21:31 -05:00 committed by GitHub
commit cf1e04a039

View file

@ -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();
```