toggle menu
Litho
androidJvm
switch theme
search in API
litho-widget
/
com.facebook.litho.widget
/
RecyclerRangeTraverser
Recycler
Range
Traverser
interface
RecyclerRangeTraverser
An interface for generating traversing order for a range.
Members
Types
Processor
Link copied to clipboard
interface
Processor
Properties
BACKWARD_TRAVERSER
Link copied to clipboard
val
BACKWARD_TRAVERSER
:
RecyclerRangeTraverser
BIDIRECTIONAL_TRAVERSER
Link copied to clipboard
val
BIDIRECTIONAL_TRAVERSER
:
RecyclerRangeTraverser
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.
FORWARD_TRAVERSER
Link copied to clipboard
val
FORWARD_TRAVERSER
:
RecyclerRangeTraverser
Functions
traverse
Link copied to clipboard
abstract
fun
traverse
(
rangeStart
:
Int
,
rangeEnd
:
Int
,
firstVisible
:
Int
,
lastVisible
:
Int
,
processor
:
RecyclerRangeTraverser.Processor
)
Traverse the given range.