fillData

abstract fun fillData(@NonNull data: Array<T>, startPosition: Int, itemCount: Int)(source)

Fill the given tile.

The provided tile might be a recycled tile, in which case it will already have objects. It is suggested to re-use these objects if possible in your use case.

Parameters

startPosition

The start position in the list.

itemCount

The data item count.

data

The data item array to fill into. Should not be accessed beyond itemCount.