nytimes / Store

Android Library for Async Data Loading and Caching

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parameter incorrect of readme file

artshell opened this issue · comments

Our Key implementation - Barcodes section:

 Store<ArticleAsset, Integer> store = StoreBuilder.<ArticleAsset>barcode()
                .fetcher(articleBarcode -> api.getAsset(articleBarcode.getKey(),articleBarcode.getType()))
                .open();

after change

 Store<ArticleAsset, Barcode> store = StoreBuilder.<ArticleAsset>barcode()
                .fetcher(articleBarcode -> api.getAsset(articleBarcode.getKey(),articleBarcode.getType()))
                .open();

Sure, want to fix and get some internet points?

Looks like this was fixed by #309 Can one of the maintainers of the repo close?