Skip to content

Commit b09840d

Browse files
committed
Fixup
1 parent 0419234 commit b09840d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indicator-fast-scroll/src/main/java/com/reddit/indicatorfastscroll/ItemIndicatorsUpdater.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ internal open class ItemIndicatorsBuilder {
99
getItemIndicator: (Int) -> FastScrollItemIndicator?,
1010
showIndicator: ((FastScrollItemIndicator, Int, Int) -> Boolean)?
1111
): List<ItemIndicatorWithPosition> {
12-
return (0 until (recyclerView.adapter!!.itemCount))
12+
return (0 until recyclerView.adapter!!.itemCount)
1313
.mapNotNull { position ->
1414
getItemIndicator(position)?.let { ItemIndicatorWithPosition(it, position) }
1515
}

0 commit comments

Comments
 (0)