From 69c16846592a81cafa0fd969a50d2a461c8ed569 Mon Sep 17 00:00:00 2001 From: takasfz Date: Wed, 20 May 2020 16:18:46 +0900 Subject: [PATCH] Fix README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c6701f209..e39984c99 100644 --- a/README.md +++ b/README.md @@ -244,9 +244,8 @@ You can delete a specific entry by key from a store, or clear all entries in a s ```kotlin val store = StoreBuilder - .fromNonFlow { key: String -> - api.fetchData(key) - }.build() + .from(nonFlowValueFetcher { api.fetchData(key) }) + .build() ``` The following will clear the entry associated with the key from the in-memory cache: