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 has been archived by the owner on Apr 13, 2023. It is now read-only.
ClassNotFoundException: Didn't find class "androidx.collection.LruCache" on path: DexPathList[
在model 中加上相关的缓存代码
public class HomeNewRecommendModel implements HomeNewRecommendContract.Model {
@OverRide
public Observable getHomeNewRecommendData(String baby_id) {
return HomeIndexAPI.get().getHomeNewRecommendData(baby_id).compose(new DefaultTransformer<>()).compose(
RxCache.getDefault().transformObservable("my_home/v317" + baby_id,new TypeToken(){}.getType(),
CacheStrategy.firstCache())).map(new CacheResult.MapFunc());
}
}
The text was updated successfully, but these errors were encountered: