---
# System prepended metadata

title: DifferUtil & AsyncListDiffer
tags: [實作相關]

---

DifferUtil & AsyncListDiffer
===

為一種局部刷新列表的方式，且能夠支援cell動畫。有別以往使用全局刷新的`Adapter.notifyataSetChanged()`

## AsyncListDiffer
1. 覆寫實作 Differ.ItemCallback
2. 

## Ref.
[Android高性能列表：RecyclerView + DiffUtil](https://zhuanlan.zhihu.com/p/26079803)

[你的RecycleView刷新方式需要升级啦！AsyncListDiffer使用指南奉上](https://www.bilibili.com/video/BV1Di4y157q6?p=5&spm_id_from=pageDriver)

[Android AsyncListDiffer-RecyclerView最好的伙伴](https://blog.csdn.net/fei20121106/article/details/108120420)

[(與上述連結同篇文章,備份怕連結失效)](https://www.jianshu.com/p/66d0feab2b5b)

###### tags: `實作相關`