|
|
@@ -12,6 +12,8 @@ import java.io.File;
|
|
|
import okhttp3.Call;
|
|
|
import rx.functions.Action1;
|
|
|
|
|
|
+import static com.sheep.jiuyan.samllsheep.utils.ClassFileHelper.DIR;
|
|
|
+
|
|
|
/**
|
|
|
* Created by realicing on 2018/11/13.
|
|
|
* realicing@sina.com
|
|
|
@@ -73,11 +75,8 @@ public class CacheImageUtil {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- public static File getImgCacheDir() {
|
|
|
- return SheepApp.getInstance().getDir("img", Context.MODE_PRIVATE);
|
|
|
- }
|
|
|
-
|
|
|
public static String getImgCacheDirPath() {
|
|
|
- return SheepApp.getInstance().getDir("img", Context.MODE_PRIVATE).getPath();
|
|
|
+// return SheepApp.getInstance().getDir("img", Context.MODE_PRIVATE).getPath();
|
|
|
+ return DIR;
|
|
|
}
|
|
|
}
|