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
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
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