This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 305
Clearable #367
Comments
tryed the folowing in onClear method
I got this error: : error unable to delete /data/user/0/packagename/cache/subscribtion/42961 |
I think you need to handle the case where you are clearing something for a key/path that is not created yet. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I don't understand how to implement a Clearable
I have this class ClearAbleRecordPersister extends RecordPersister implements Clearable {
...
@OverRide
public void clear(@nonnull BarCode key) {
//TODO what show i do here?
}
My Store persister instance:
val cacheDir: File = MyApplication.getContext().cacheDir
return ClearAbleRecordPersister.create(cacheDir,30,TimeUnit.MINUTES)
}
Could not erase the data in any way. Can someone help me with it
The text was updated successfully, but these errors were encountered: