A local reactive cache for Java and Android. Now, it supports heap memory、off-heap memory and disk cache.
A local reactive cache for Java and Android. Now, it supports heap memory、off-heap memory and disk cache.
RxCache 是一款支持 Java 和 Android 的 Local Cache,目前支持内存、堆外内存、磁盘缓存。
RxCache 1.5.1 以及之前的版本使用 RxJava 2.x,在 RxCache 1.6.0 到 RxCache 2.0 的版本使用 RxJava 3.x。
RxCache 2.0 之后,既支持 RxJava 3.x 也支持 RxJava 2.x,整体设计更为合理。
将它添加到项目的 root build.gradle 中:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Wechat:fengzhizi715
Java与Android技术栈:每周更新推送原创技术文章,欢迎扫描下方的公众号二维码并关注,期待与您的共同成长和进步。
Copyright (C) 2018 - present, Tony Shen.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.