KeyValueDiffer
跟踪对象随时间变化的差异。
A differ that tracks changes made to an object over time.
interface KeyValueDiffer<K, V> {
diff(object: Map<K, V>): KeyValueChanges<K, V> | null
}
方法
计算先前状态和新 Compute a difference between the previous state and the new | |||
参数
返回值描述差异的对象。返回值仅在下一次
|