A fork of Jake Wharton's DiskLruCache translated to
Kotlin and using Okio like what
OkHttp has done for it's internal DiskLruCache
implementation, unfortunately as the mentioned word internal, you can not use it directly. so here
we are, also support file get in Snapshot.
Maven:
<dependency>
<groupId>com.imrock.xlib</groupId>
<artifactId>okdisklrucache</artifactId>
<version>1.0.0</version>
<type>pom</type>
</dependency>or Gradle:
dependencies {
implementation 'com.imrock.xlib:okdisklrucache:1.0.0'
}