open class EpoxyDiffLogger : AdapterDataObserver
This data observer can be registered with an Epoxy adapter or controller to log all item change events. This may be useful to use in debug builds in order to observe model updates and monitor for issues.
You may want to look for unexpected item updates to catch improper hashCode/equals implementations in your models.
Additionally, you may want to look for frequent or unnecessary updates as an opportunity for optimization.
EpoxyDiffLogger(tag: String!) |
open fun onItemRangeChanged(positionStart: Int, itemCount: Int): Unitopen fun onItemRangeChanged(positionStart: Int, itemCount: Int, payload: Any?): Unit |
|
open fun onItemRangeInserted(positionStart: Int, itemCount: Int): Unit |
|
open fun onItemRangeMoved(fromPosition: Int, toPosition: Int, itemCount: Int): Unit |
|
open fun onItemRangeRemoved(positionStart: Int, itemCount: Int): Unit |