setFrom
@NonNull
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.
@NonNull
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.