sesl.androidx
Toggle table of contents
main
Platform filter
main
Switch theme
Search in API
sesl.androidx
recyclerview
/
androidx.recyclerview.widget
/
GridLayoutManager
/
DefaultSpanSizeLookup
Default
Span
Size
Lookup
class
DefaultSpanSizeLookup
:
GridLayoutManager.SpanSizeLookup
(
source
)
Default implementation for
SpanSizeLookup
. Each item occupies 1 span.
Members
Constructors
Default
Span
Size
Lookup
Link copied to clipboard
constructor
(
)
Functions
get
Span
Index
Link copied to clipboard
open
fun
getSpanIndex
(
position
:
Int
,
spanCount
:
Int
)
:
Int
Returns the final span index of the provided position.
get
Span
Size
Link copied to clipboard
open
fun
getSpanSize
(
position
:
Int
)
:
Int
Returns the number of span occupied by the item at
position
.