Open jackcsk opened 7 years ago
In reference to insertInternal(newList, currentList) method: https://github.com/cymcsg/UltimateRecyclerView/blob/master/UltimateRecyclerView/ultimaterecyclerview/src/main/java/com/marshalchen/ultimaterecyclerview/UltimateViewAdapter.java#L399
insertInternal(newList, currentList)
Ever consider do use DiffUtil in the support library? Reference: https://developer.android.com/reference/android/support/v7/util/DiffUtil.html
DiffUtil
Grateful for this useful advice . I think DiffUtil could have better performance.
In reference to
insertInternal(newList, currentList)
method: https://github.com/cymcsg/UltimateRecyclerView/blob/master/UltimateRecyclerView/ultimaterecyclerview/src/main/java/com/marshalchen/ultimaterecyclerview/UltimateViewAdapter.java#L399Ever consider do use
DiffUtil
in the support library? Reference: https://developer.android.com/reference/android/support/v7/util/DiffUtil.html