You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 7, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 7, 2019. It is now read-only.
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
Activity
victor-radulescu commentedon Oct 17, 2018
tryed the folowing in onClear method
I got this error: : error unable to delete /data/user/0/packagename/cache/subscribtion/42961
digitalbuddha commentedon Dec 31, 2018
I think you need to handle the case where you are clearing something for a key/path that is not created yet.