ItemHolderInfo
A simple data structure that holds information about an item's bounds. This information is used in calculating item animations. Default implementation of recordPreLayoutInformation and recordPostLayoutInformation returns this data structure. You can extend this class if you would like to keep more information about the Views.
If you want to provide your own implementation but still use `super` methods to record basic information, you can override obtainHolderInfo to provide your own instances.
Properties
Functions
Link copied to clipboard
open fun setFrom(@NonNull holder: RecyclerView.ViewHolder): RecyclerView.ItemAnimator.ItemHolderInfo
open fun setFrom(@NonNull holder: RecyclerView.ViewHolder, flags: Int): RecyclerView.ItemAnimator.ItemHolderInfo
Sets the left, top, right and bottom values from the given ViewHolder and sets the changeFlags to the given flags parameter.