private void cacheStoreDrawable(String key, Bitmap bitmap) {
if (isDrawableInCache(key)) return;
File drawableFile = cacheGetFileName(key);
try (FileOutputStream fos = new FileOutputStream(drawableFile)) {
bitmap.compress(CompressFormat.PNG, 100, fos);
fos.flush();
fos.close();
} catch (Exception e) {
e.printStackTrace();
}
}
IconsManager.java 文件源码
java
阅读 36
收藏 0
点赞 0
评论 0
项目:LaunchEnr
作者:
评论列表
文章目录