setFrom
open fun setFrom(@NonNull holder: RecyclerView.ViewHolder): RecyclerView.ItemAnimator.ItemHolderInfo(source)
Sets the left, top, right and bottom values from the given ViewHolder. Clears all changeFlags.
Return
This ItemHolderInfo
Parameters
holder
The ViewHolder whose bounds should be copied.
open fun setFrom(@NonNull holder: RecyclerView.ViewHolder, flags: Int): RecyclerView.ItemAnimator.ItemHolderInfo(source)
Sets the left, top, right and bottom values from the given ViewHolder and sets the changeFlags to the given flags parameter.
Return
This ItemHolderInfo
Parameters
holder
The ViewHolder whose bounds should be copied.
flags
The adapter change flags that were passed into recordPreLayoutInformation.