Skip to content

Commit 24e93f0

Browse files
committed
feat: 增加开源库之图片篇章 Fresco(初稿)
1 parent de47615 commit 24e93f0

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

3. 开源库/图片/Fresco.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Fresco
2+
3+
## 学习 Fresco 侧重点
4+
5+
`Fresco` ,最重要的是知道和主流的图片加载框架有什么差异,优缺点是什么,什么时候该选`Fresco`,为什么选它。
6+
7+
## 优势
8+
9+
最大的优势在于低端机型(5.0 以下)的`bitmap`加载。在 5.0 以下系统,`Fresco` 将图片放到一个特别的内存区域(`Ashmem` 区),大大减少`OOM`(在更底层的 `Native` 层对 `OOM` 进行处理,图片将不再占用 App 的内存),适用于需要高性能加载大量图片的场景。
10+
11+
## 博文
12+

SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155

156156
* [Glide](3. 开源库/图片/Glide.md)
157157

158-
* Fresco
158+
* [Fresco](3. 开源库/图片/Fresco.md)
159159

160160
* Picasso
161161

0 commit comments

Comments
 (0)