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.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var bottom: Int
The bottom edge of the View (excluding decorations)
Link copied to clipboard
open var changeFlags: Int
The change flags that were passed to recordPreLayoutInformation.
Link copied to clipboard
open var left: Int
The left edge of the View (excluding decorations)
Link copied to clipboard
open var right: Int
The right edge of the View (excluding decorations)
Link copied to clipboard
open var top: Int
The top edge of the View (excluding decorations)

Functions

Link copied to clipboard
Sets the left, top, right and bottom values from the given ViewHolder.
Sets the left, top, right and bottom values from the given ViewHolder and sets the changeFlags to the given flags parameter.