ItemPositioner

interface ItemPositioner<T>(source)

List uses this to determine item geometry.

Functions

Link copied to clipboard
abstract fun item(of: List<T, *>, at: Point): Int

Returns the item at the given offset in a List.

Link copied to clipboard
abstract fun itemBounds(of: List<T, *>, item: T, index: Int, view: View? = null): Rectangle

Provides the bounds for a given item in the list.

Link copied to clipboard
abstract fun minimumSize(of: List<T, *>): Size

Returns the minimum size of the given List including all items.