Epoxy Diff Logger
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.
Constructors
EpoxyDiffLogger
Link copied to clipboard
Functions
onItemRangeChanged
Link copied to clipboard
open fun onItemRangeChanged(positionStart: Int, itemCount: Int, @Nullable() payload: Any)
Content copied to clipboard
onItemRangeInserted
Link copied to clipboard
onItemRangeMoved
Link copied to clipboard
open fun onItemRangeMoved(fromPosition: Int, toPosition: Int, itemCount: Int)
Content copied to clipboard
open fun onItemRangeMoved(fromPosition: Int, toPosition: Int, itemCount: Int)
Content copied to clipboard
onItemRangeRemoved
Link copied to clipboard