mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -46,6 +46,9 @@ abstract class DiffRecyclerAdapter<ITEM, VB : ViewBinding>(protected val context
|
||||
recyclerView.adapter = this
|
||||
}
|
||||
|
||||
/**
|
||||
* items与上一次提交的对象必须不同,如果指向相同地址即使数据变化也不会刷新
|
||||
*/
|
||||
@Synchronized
|
||||
fun setItems(items: List<ITEM>?) {
|
||||
kotlin.runCatching {
|
||||
|
||||
Reference in New Issue
Block a user