RecyclerRangeTraverser

An interface for generating traversing order for a range.

Types

Link copied to clipboard
interface Processor

Properties

Link copied to clipboard
A more optimized range traverser that expands from the center for the visible range so that items adjacent to the visible ones are traversed first.

Functions

Link copied to clipboard
abstract fun traverse(rangeStart: Int, rangeEnd: Int, firstVisible: Int, lastVisible: Int, processor: RecyclerRangeTraverser.Processor)
Traverse the given range.