Skip to content
This repository was archived by the owner on Aug 9, 2020. It is now read-only.
This repository was archived by the owner on Aug 9, 2020. It is now read-only.

Clearing the cache does not automatically fetch the latest #127

@qianshengta

Description

@qianshengta

Dear author, I have tried to follow your method, such as the following code is my attempt.The result is that the data in the data field in the cache is set to empty.But once again, when I read the cache of the API, he returned the empty data directly to me without asking for new data.If I need new data, I must manually refresh it.Before that I thought that if I read an empty cache, I would automatically refresh the data.Is there any misunderstanding about how I use it?


Observable observable = Observable.just(new ArrayList());       
RequestFactory.getStartCacheRequest().testCacheForOneClear(observable, new EvictProvider
                (true)).subscribe();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions