| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.3.0-alpha04" type="baseline" client="gradle" dependencies="false" name="AGP (8.3.0-alpha04)" variant="all" version="8.3.0-alpha04"> |
| |
| <issue |
| id="BanSuppressTag" |
| message="@suppress is not allowed in documentation" |
| errorLine1="class TextDelegate(" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/TextDelegate.kt"/> |
| </issue> |
| |
| <issue |
| id="BanSuppressTag" |
| message="@suppress is not allowed in documentation" |
| errorLine1=" fun applyCompositionDecoration(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldDelegate.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/foundation/lazy/grid/LazyScrollTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/foundation/lazy/list/LazyScrollTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidInstrumentedTest/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridAnimatedScrollTest.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field anchors with type Map<T, Float>: replace with ObjectFloatMap" |
| errorLine1=" internal val anchors = mutableMapOf<T, Float>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<T, Float> of getAnchors$lint_module: replace with ObjectFloatMap" |
| errorLine1=" internal val anchors = mutableMapOf<T, Float>()" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor MapDraggableAnchors has parameter anchors with type Map<T, Float>: replace with ObjectFloatMap" |
| errorLine1="private class MapDraggableAnchors<T>(private val anchors: Map<T, Float>) : DraggableAnchors<T> {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field anchors with type Map<T, Float>: replace with ObjectFloatMap" |
| errorLine1="private class MapDraggableAnchors<T>(private val anchors: Map<T, Float>) : DraggableAnchors<T> {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method genericClickableWithoutGesture has parameter currentKeyPressInteractions with type Map<Key, Press>: replace with LongObjectMap" |
| errorLine1=" currentKeyPressInteractions: MutableMap<Key, PressInteraction.Press>," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/Clickable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field currentKeyPressInteractions with type Map<Key, Press>: replace with LongObjectMap" |
| errorLine1=" val currentKeyPressInteractions = mutableMapOf<Key, PressInteraction.Press>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/Clickable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Key, Press> of getCurrentKeyPressInteractions: replace with LongObjectMap" |
| errorLine1=" val currentKeyPressInteractions = mutableMapOf<Key, PressInteraction.Press>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/Clickable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedItems with type List<? extends Integer>: replace with IntList" |
| errorLine1=" val pinnedItems = itemProvider.calculateLazyLayoutPinnedIndices(" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGrid.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of calculateCrossAxisCellSizes: replace with IntList" |
| errorLine1=" fun Density.calculateCrossAxisCellSizes(availableSize: Int, spacing: Int): List<Int>" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of calculateCellsCrossAxisSizeImpl: replace with IntList" |
| errorLine1="): List<Int> {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measureLazyGrid has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method calculateExtraItems has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor LazyGridMeasuredLine has parameter spans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" private val spans: List<GridItemSpan>," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasuredLine.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field spans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" private val spans: List<GridItemSpan>," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasuredLine.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createLine has parameter spans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" spans: List<GridItemSpan>," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasuredLineProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor LineConfiguration has parameter spans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" class LineConfiguration(val firstItemIndex: Int, val spans: List<GridItemSpan>)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field spans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" class LineConfiguration(val firstItemIndex: Int, val spans: List<GridItemSpan>)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<GridItemSpan> of getSpans: replace with LongList" |
| errorLine1=" class LineConfiguration(val firstItemIndex: Int, val spans: List<GridItemSpan>)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field cachedBucket with type List<Integer>: replace with IntList" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field previousDefaultSpans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<GridItemSpan> of getDefaultSpans: replace with LongList" |
| errorLine1=" private fun getDefaultSpans(currentSlotsPerLine: Int) =" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable spans with type List<GridItemSpan>: replace with LongList" |
| errorLine1=" val spans = mutableListOf<GridItemSpan>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field countPerType with type Map<Object, Integer>: replace with ObjectIntMap" |
| errorLine1=" private val countPerType = mutableMapOf<Any?, Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of calculateLazyLayoutPinnedIndices: replace with IntList" |
| errorLine1="): List<Int> {" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutBeyondBoundsState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" val pinnedItems = mutableListOf<Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutBeyondBoundsState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field map with type Map<Object, Integer>: replace with ObjectIntMap" |
| errorLine1=" private val map: Map<Any, Int>" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutKeyIndexMap.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field placeablesCache with type HashMap<Integer, List<Placeable>>: replace with IntObjectMap" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutMeasureScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedItems with type List<? extends Integer>: replace with IntList" |
| errorLine1=" val pinnedItems = itemProvider.calculateLazyLayoutPinnedIndices(" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyList.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method findOrComposeLazyListHeader has parameter headerIndexes with type List<Integer>: replace with IntList" |
| errorLine1=" headerIndexes: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListHeaders.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field _headerIndexes with type List<Integer>: replace with IntList" |
| errorLine1=" private var _headerIndexes: MutableList<Int>? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of getHeaderIndexes: replace with IntList" |
| errorLine1=" val headerIndexes: List<Int> get() = _headerIndexes ?: emptyList()" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable varb332e573 with type List<Integer>: replace with IntList" |
| errorLine1=" val headerIndexes: List<Int> get() = _headerIndexes ?: emptyList()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable headersIndexes with type List<Integer>: replace with IntList" |
| errorLine1=" val headersIndexes = _headerIndexes ?: mutableListOf<Int>().also {" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable varb3338ae4 with type List<Integer>: replace with IntList" |
| errorLine1=" val headersIndexes = _headerIndexes ?: mutableListOf<Int>().also {" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of getHeaderIndexes: replace with IntList" |
| errorLine1=" val headerIndexes: List<Int>" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListItemProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measureLazyList has parameter headerIndexes with type List<Integer>: replace with IntList" |
| errorLine1=" headerIndexes: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measureLazyList has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createItemsAfterList has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createItemsBeforeList has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measureStaggeredGrid has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor LazyStaggeredGridMeasureContext has parameter pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" val pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field pinnedItems with type List<Integer>: replace with IntList" |
| errorLine1=" val pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Integer> of getPinnedItems: replace with IntList" |
| errorLine1=" val pinnedItems: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedItems with type List<? extends Integer>: replace with IntList" |
| errorLine1=" val pinnedItems = itemProvider.calculateLazyLayoutPinnedIndices(" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasurePolicy.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field currentItemPrefetchHandles with type Map<Integer, PrefetchHandle>: replace with IntObjectMap" |
| errorLine1=" private val currentItemPrefetchHandles = mutableMapOf<Int, PrefetchHandle>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable prefetchHandlesUsed with type Set<Integer>: replace with IntSet" |
| errorLine1=" val prefetchHandlesUsed = mutableSetOf<Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method clearLeftoverPrefetchHandles has parameter prefetchHandlesUsed with type Set<Integer>: replace with IntSet" |
| errorLine1=" private fun clearLeftoverPrefetchHandles(prefetchHandlesUsed: Set<Int>) {" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method measurePager has parameter pinnedPages with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedPages: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createPagesAfterList has parameter pinnedPages with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedPages: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createPagesBeforeList has parameter pinnedPages with type List<Integer>: replace with IntList" |
| errorLine1=" pinnedPages: List<Int>," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable pinnedPages with type List<? extends Integer>: replace with IntList" |
| errorLine1=" val pinnedPages = itemProvider.calculateLazyLayoutPinnedIndices(" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasurePolicy.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Long, Selection> of createSubSelections: replace with LongObjectMap" |
| errorLine1=" fun createSubSelections(selection: Selection): Map<Long, Selection>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor MultiSelectionLayout has parameter selectableIdToInfoListIndex with type Map<Long, Integer>: replace with LongIntMap" |
| errorLine1=" val selectableIdToInfoListIndex: Map<Long, Int>," |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field selectableIdToInfoListIndex with type Map<Long, Integer>: replace with LongIntMap" |
| errorLine1=" val selectableIdToInfoListIndex: Map<Long, Int>," |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Long, Integer> of getSelectableIdToInfoListIndex: replace with LongIntMap" |
| errorLine1=" val selectableIdToInfoListIndex: Map<Long, Int>," |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method createAndPutSubSelection has parameter $this$createAndPutSubSelection with type Map<Long, Selection>: replace with LongObjectMap" |
| errorLine1=" private fun MutableMap<Long, Selection>.createAndPutSubSelection(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field selectableIdToInfoListIndex with type Map<Long, Integer>: replace with LongIntMap" |
| errorLine1=" private val selectableIdToInfoListIndex: MutableMap<Long, Int> = mutableMapOf()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable newSubselection with type Map<Long, ? extends Selection>: replace with LongObjectMap" |
| errorLine1=" val (newSelection, newSubselection) = selectAll(" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable subselections with type Map<Long, Selection>: replace with LongObjectMap" |
| errorLine1=" val subselections = mutableMapOf<Long, Selection>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable idToIndexMap with type Map<Long, Integer>: replace with LongIntMap" |
| errorLine1=" val idToIndexMap = mutableMapOf<Long, Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Long, Selection> of getSubselections: replace with LongObjectMap" |
| errorLine1=" val subselections: Map<Long, Selection>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrar.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field _selectableMap with type Map<Long, Selectable>: replace with LongObjectMap" |
| errorLine1=" private val _selectableMap = mutableMapOf<Long, Selectable>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Long, Selectable> of getSelectableMap$lint_module: replace with LongObjectMap" |
| errorLine1=" internal val selectableMap: Map<Long, Selectable>" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method setSubselections has parameter <set-?> with type Map<Long, Selection>: replace with LongObjectMap" |
| errorLine1=" override var subselections: Map<Long, Selection> by mutableStateOf(emptyMap())" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field baselineCache with type Map<AlignmentLine, Integer>: replace with ObjectIntMap" |
| errorLine1=" private var baselineCache: Map<AlignmentLine, Int>? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/modifiers/TextAnnotatedStringNode.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field baselineCache with type Map<AlignmentLine, Integer>: replace with ObjectIntMap" |
| errorLine1=" private var baselineCache: MutableMap<AlignmentLine, Int>? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/modifiers/TextStringSimpleNode.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable cache with type Map<AlignmentLine, Integer>: replace with ObjectIntMap" |
| errorLine1=" var cache = baselineCache" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/modifiers/TextStringSimpleNode.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'positionalThreshold' with type Function1<? super Float, Float>." |
| errorLine1=" internal val positionalThreshold: (totalDistance: Float) -> Float," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Float, Float> of 'getPositionalThreshold$lint_module'." |
| errorLine1=" internal val positionalThreshold: (totalDistance: Float) -> Float," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'velocityThreshold' with type Function0<Float>." |
| errorLine1=" internal val velocityThreshold: () -> Float," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function0<Float> of 'getVelocityThreshold$lint_module'." |
| errorLine1=" internal val velocityThreshold: () -> Float," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'positionalThreshold' with type Function1<? super Float, Float>." |
| errorLine1=" positionalThreshold: (totalDistance: Float) -> Float," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'velocityThreshold' with type Function0<Float>." |
| errorLine1=" velocityThreshold: () -> Float," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Saver has parameter 'positionalThreshold' with type Function1<? super Float, Float>." |
| errorLine1=" positionalThreshold: (distance: Float) -> Float," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Saver has parameter 'velocityThreshold' with type Function0<Float>." |
| errorLine1=" velocityThreshold: () -> Float," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/AnchoredDraggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method platformSpecificTextInputSession has parameter 'onImeAction' with type Function1<? super ImeAction, Unit>." |
| errorLine1=" onImeAction: ((ImeAction) -> Unit)?" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/text2/input/internal/AndroidTextInputSession.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method ClickableText has parameter 'onClick' with type Function1<? super Integer, Unit>." |
| errorLine1=" onClick: (Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/ClickableText.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method ClickableText has parameter 'onHover' with type Function1<? super Integer, Unit>." |
| errorLine1=" onHover: ((Int?) -> Unit)," |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/ClickableText.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method ClickableText has parameter 'onClick' with type Function1<? super Integer, Unit>." |
| errorLine1=" onClick: (Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/ClickableText.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'getOffset' with type Function1<? super Offset, ? extends Integer>." |
| errorLine1=" fun getOffset(positionOffset: Offset): Int? = layoutResult.value" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/ClickableText.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<ImeAction, Unit> of 'getOnImeActionPerformed'." |
| errorLine1=" val onImeActionPerformed: (ImeAction) -> Unit = { imeAction ->" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/CoreTextField.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method awaitTouchSlopOrCancellation has parameter 'onTouchSlopReached' with type Function2<? super PointerInputChange, ? super Offset, Unit>." |
| errorLine1=" onTouchSlopReached: (change: PointerInputChange, overSlop: Offset) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectDragGestures has parameter 'onDragStart' with type Function1<? super Offset, Unit>." |
| errorLine1=" onDragStart: (Offset) -> Unit = { }," |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectDragGestures has parameter 'onDrag' with type Function2<? super PointerInputChange, ? super Offset, Unit>." |
| errorLine1=" onDrag: (change: PointerInputChange, dragAmount: Offset) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectDragGesturesAfterLongPress has parameter 'onDragStart' with type Function1<? super Offset, Unit>." |
| errorLine1=" onDragStart: (Offset) -> Unit = { }," |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectDragGesturesAfterLongPress has parameter 'onDrag' with type Function2<? super PointerInputChange, ? super Offset, Unit>." |
| errorLine1=" onDrag: (change: PointerInputChange, dragAmount: Offset) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method awaitVerticalTouchSlopOrCancellation has parameter 'onTouchSlopReached' with type Function2<? super PointerInputChange, ? super Float, Unit>." |
| errorLine1=" onTouchSlopReached: (change: PointerInputChange, overSlop: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method awaitVerticalPointerSlopOrCancellation has parameter 'onTouchSlopReached' with type Function2<? super PointerInputChange, ? super Float, Unit>." |
| errorLine1=" onTouchSlopReached: (change: PointerInputChange, overSlop: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectVerticalDragGestures has parameter 'onDragStart' with type Function1<? super Offset, Unit>." |
| errorLine1=" onDragStart: (Offset) -> Unit = { }," |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectVerticalDragGestures has parameter 'onVerticalDrag' with type Function2<? super PointerInputChange, ? super Float, Unit>." |
| errorLine1=" onVerticalDrag: (change: PointerInputChange, dragAmount: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method awaitHorizontalTouchSlopOrCancellation has parameter 'onTouchSlopReached' with type Function2<? super PointerInputChange, ? super Float, Unit>." |
| errorLine1=" onTouchSlopReached: (change: PointerInputChange, overSlop: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method awaitHorizontalPointerSlopOrCancellation has parameter 'onPointerSlopReached' with type Function2<? super PointerInputChange, ? super Float, Unit>." |
| errorLine1=" onPointerSlopReached: (change: PointerInputChange, overSlop: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectHorizontalDragGestures has parameter 'onDragStart' with type Function1<? super Offset, Unit>." |
| errorLine1=" onDragStart: (Offset) -> Unit = { }," |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectHorizontalDragGestures has parameter 'onHorizontalDrag' with type Function2<? super PointerInputChange, ? super Float, Unit>." |
| errorLine1=" onHorizontalDrag: (change: PointerInputChange, dragAmount: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/DragGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DraggableState has parameter 'onDelta' with type Function1<? super Float, Unit>." |
| errorLine1="fun DraggableState(onDelta: (Float) -> Unit): DraggableState =" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberDraggableState has parameter 'onDelta' with type Function1<? super Float, Unit>." |
| errorLine1="fun rememberDraggableState(onDelta: (Float) -> Unit): DraggableState {" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method draggable has parameter 'onDragStarted' with type Function3<? super CoroutineScope, ? super Offset, ? super Continuation<? super Unit>, ? extends Object>." |
| errorLine1=" onDragStarted: suspend CoroutineScope.(startedPosition: Offset) -> Unit = {}," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method draggable has parameter 'onDragStopped' with type Function3<? super CoroutineScope, ? super Float, ? super Continuation<? super Unit>, ? extends Object>." |
| errorLine1=" onDragStopped: suspend CoroutineScope.(velocity: Float) -> Unit = {}," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor DraggableElement has parameter 'onDragStarted' with type Function3<? super CoroutineScope, ? super Offset, ? super Continuation<? super Unit>, ? extends Object>." |
| errorLine1=" private val onDragStarted: suspend CoroutineScope.(startedPosition: Offset) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor DraggableElement has parameter 'onDragStopped' with type Function3<? super CoroutineScope, ? super Velocity, ? super Continuation<? super Unit>, ? extends Object>." |
| errorLine1=" private val onDragStopped: suspend CoroutineScope.(velocity: Velocity) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor DraggableNode has parameter 'onDragStarted' with type Function3<? super CoroutineScope, ? super Offset, ? super Continuation<? super Unit>, ? extends Object>." |
| errorLine1=" onDragStarted: suspend CoroutineScope.(startedPosition: Offset) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor DraggableNode has parameter 'onDragStopped' with type Function3<? super CoroutineScope, ? super Velocity, ? super Continuation<? super Unit>, ? extends Object>." |
| errorLine1=" onDragStopped: suspend CoroutineScope.(velocity: Velocity) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method update has parameter 'onDragStarted' with type Function3<? super CoroutineScope, ? super Offset, ? super Continuation<? super Unit>, ? extends Object>." |
| errorLine1=" onDragStarted: suspend CoroutineScope.(startedPosition: Offset) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method update has parameter 'onDragStopped' with type Function3<? super CoroutineScope, ? super Velocity, ? super Continuation<? super Unit>, ? extends Object>." |
| errorLine1=" onDragStopped: suspend CoroutineScope.(velocity: Velocity) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor DefaultDraggableState has parameter 'onDelta' with type Function1<? super Float, Unit>." |
| errorLine1="private class DefaultDraggableState(val onDelta: (Float) -> Unit) : DraggableState {" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Float, Unit> of 'getOnDelta'." |
| errorLine1="private class DefaultDraggableState(val onDelta: (Float) -> Unit) : DraggableState {" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Draggable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor GenericShape has parameter 'builder' with type Function3<? super Path, ? super Size, ? super LayoutDirection, Unit>." |
| errorLine1=" private val builder: Path.(size: Size, layoutDirection: LayoutDirection) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/shape/GenericShape.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" key: ((index: Int) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'contentType' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" contentType: (index: Int) -> Any? = { null }," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'itemContent' with type Function2<? super LazyItemScope, ? super Integer, Unit>." |
| errorLine1=" itemContent: @Composable LazyItemScope.(index: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" key: ((index: Int) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'itemContent' with type Function2<? super LazyItemScope, ? super Integer, Unit>." |
| errorLine1=" itemContent: @Composable LazyItemScope.(index: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method itemsIndexed has parameter 'key' with type Function2<? super Integer, ? super T, ? extends Object>." |
| errorLine1=" noinline key: ((index: Int, item: T) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method itemsIndexed has parameter 'key' with type Function2<? super Integer, ? super T, ? extends Object>." |
| errorLine1=" noinline key: ((index: Int, item: T) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method itemsIndexed has parameter 'key' with type Function2<? super Integer, ? super T, ? extends Object>." |
| errorLine1=" noinline key: ((index: Int, item: T) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method itemsIndexed has parameter 'key' with type Function2<? super Integer, ? super T, ? extends Object>." |
| errorLine1=" noinline key: ((index: Int, item: T) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'measurePolicy' with type Function2<? super LazyLayoutMeasureScope, ? super Constraints, ? extends MeasureResult>." |
| errorLine1=" val measurePolicy = rememberLazyGridMeasurePolicy(" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGrid.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<LazyLayoutMeasureScope, Constraints, MeasureResult> of 'rememberLazyGridMeasurePolicy'." |
| errorLine1="private fun rememberLazyGridMeasurePolicy(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGrid.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'lineOf' with type Function1<? super Integer, ? extends Integer>." |
| errorLine1=" val lineOf: (Int) -> Int = {" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridAnimateScrollScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor GridSlotCache has parameter 'calculation' with type Function2<? super Density, ? super Constraints, LazyGridSlots>." |
| errorLine1=" private val calculation: Density.(Constraints) -> LazyGridSlots" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method item has parameter 'span' with type Function1<? super LazyGridItemSpanScope, GridItemSpan>." |
| errorLine1=" span: (LazyGridItemSpanScope.() -> GridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" key: ((index: Int) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'span' with type Function2<? super LazyGridItemSpanScope, ? super Integer, GridItemSpan>." |
| errorLine1=" span: (LazyGridItemSpanScope.(index: Int) -> GridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'contentType' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" contentType: (index: Int) -> Any? = { null }," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'itemContent' with type Function2<? super LazyGridItemScope, ? super Integer, Unit>." |
| errorLine1=" itemContent: @Composable LazyGridItemScope.(index: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'span' with type Function2<? super LazyGridItemSpanScope, ? super T, GridItemSpan>." |
| errorLine1=" noinline span: (LazyGridItemSpanScope.(item: T) -> GridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method itemsIndexed has parameter 'key' with type Function2<? super Integer, ? super T, ? extends Object>." |
| errorLine1=" noinline key: ((index: Int, item: T) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method itemsIndexed has parameter 'span' with type Function3<? super LazyGridItemSpanScope, ? super Integer, ? super T, GridItemSpan>." |
| errorLine1=" noinline span: (LazyGridItemSpanScope.(index: Int, item: T) -> GridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'span' with type Function2<? super LazyGridItemSpanScope, ? super T, GridItemSpan>." |
| errorLine1=" noinline span: (LazyGridItemSpanScope.(item: T) -> GridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method itemsIndexed has parameter 'key' with type Function2<? super Integer, ? super T, ? extends Object>." |
| errorLine1=" noinline key: ((index: Int, item: T) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method itemsIndexed has parameter 'span' with type Function3<? super LazyGridItemSpanScope, ? super Integer, ? super T, GridItemSpan>." |
| errorLine1=" noinline span: (LazyGridItemSpanScope.(index: Int, item: T) -> GridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'var872790a8' with type Function2<? super LazyGridItemSpanScope, ? super Integer, ? extends GridItemSpan>." |
| errorLine1=" span = span?.let { { span() } } ?: DefaultSpan," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'varb56803de' with type Function2<? super LazyGridItemSpanScope, ? super Integer, ? extends GridItemSpan>." |
| errorLine1=" span = span ?: DefaultSpan," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<LazyGridItemSpanScope, Integer, GridItemSpan> of 'getDefaultSpan'." |
| errorLine1=" val DefaultSpan: LazyGridItemSpanScope.(Int) -> GridItemSpan = { GridItemSpan(1) }" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyGridInterval has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" override val key: ((index: Int) -> Any)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyGridInterval has parameter 'span' with type Function2<? super LazyGridItemSpanScope, ? super Integer, GridItemSpan>." |
| errorLine1=" val span: LazyGridItemSpanScope.(Int) -> GridItemSpan," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<LazyGridItemSpanScope, Integer, GridItemSpan> of 'getSpan'." |
| errorLine1=" val span: LazyGridItemSpanScope.(Int) -> GridItemSpan," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyGridInterval has parameter 'type' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" override val type: ((index: Int) -> Any?)," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyGridInterval has parameter 'item' with type Function2<? super LazyGridItemScope, ? super Integer, Unit>." |
| errorLine1=" val item: @Composable LazyGridItemScope.(Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<LazyGridItemScope, Integer, Unit> of 'getItem'." |
| errorLine1=" val item: @Composable LazyGridItemScope.(Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method measureLazyGrid has parameter 'layout' with type Function3<? super Integer, ? super Integer, ? super Function1<? super PlacementScope, Unit>, ? extends MeasureResult>." |
| errorLine1=" layout: (Int, Int, Placeable.PlacementScope.() -> Unit) -> MeasureResult" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'reverseAware' with type Function1<? super Integer, ? extends Integer>." |
| errorLine1=" fun Int.reverseAware() =" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setPrefetchInfoRetriever$lint_module has parameter '<set-?>' with type Function1<? super Integer, ? extends List<Pair<Integer, Constraints>>>." |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Integer, List<Pair<Integer, Constraints>>> of 'getPrefetchInfoRetriever$lint_module'." |
| errorLine1=" internal var prefetchInfoRetriever: (line: Int) -> List<Pair<Int, Constraints>> by" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method LazyLayout has parameter 'measurePolicy' with type Function2<? super LazyLayoutMeasureScope, ? super Constraints, ? extends MeasureResult>." |
| errorLine1=" measurePolicy: LazyLayoutMeasureScope.(Constraints) -> MeasureResult" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method LazyLayout has parameter 'measurePolicy' with type Function2<? super LazyLayoutMeasureScope, ? super Constraints, ? extends MeasureResult>." |
| errorLine1=" measurePolicy: LazyLayoutMeasureScope.(Constraints) -> MeasureResult" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayout.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Integer, Object> of 'getKey'." |
| errorLine1=" val key: ((index: Int) -> Any)? get() = null" |
| errorLine2=" ~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Integer, Object> of 'getType'." |
| errorLine1=" val type: ((index: Int) -> Any?) get() = { null }" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'keyFactory' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" val keyFactory = it.value.key" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutKeyIndexMap.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Pager has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" key: ((index: Int) -> Any)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Pager has parameter 'pageContent' with type Function2<? super PagerScope, ? super Integer, Unit>." |
| errorLine1=" pageContent: @Composable PagerScope.(page: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'measurePolicy' with type Function2<? super LazyLayoutMeasureScope, ? super Constraints, ? extends MeasureResult>." |
| errorLine1=" val measurePolicy = rememberPagerMeasurePolicy(" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor PagerLayoutIntervalContent has parameter 'pageContent' with type Function2<? super PagerScope, ? super Integer, Unit>." |
| errorLine1=" val pageContent: @Composable PagerScope.(page: Int) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<PagerScope, Integer, Unit> of 'getPageContent'." |
| errorLine1=" val pageContent: @Composable PagerScope.(page: Int) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor PagerLayoutIntervalContent has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" val key: ((index: Int) -> Any)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Integer, Object> of 'getKey'." |
| errorLine1=" val key: ((index: Int) -> Any)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor PagerIntervalContent has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" override val key: ((page: Int) -> Any)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor PagerIntervalContent has parameter 'item' with type Function2<? super PagerScope, ? super Integer, Unit>." |
| errorLine1=" val item: @Composable PagerScope.(page: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<PagerScope, Integer, Unit> of 'getItem'." |
| errorLine1=" val item: @Composable PagerScope.(page: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberPagerItemProviderLambda has parameter 'pageContent' with type Function2<? super PagerScope, ? super Integer, Unit>." |
| errorLine1=" pageContent: @Composable PagerScope.(page: Int) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberPagerItemProviderLambda has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" key: ((index: Int) -> Any)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberPagerItemProviderLambda has parameter 'pageCount' with type Function0<Integer>." |
| errorLine1=" pageCount: () -> Int" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/LazyLayoutPager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'indexForKeyMapping' with type Function1<? super Object, ? extends Integer>." |
| errorLine1=" val indexForKeyMapping: (Any) -> Int = { needle ->" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutSemantics.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scrollByAction' with type Function2<? super Float, ? super Float, ? extends Boolean>." |
| errorLine1=" val scrollByAction: ((x: Float, y: Float) -> Boolean)? = if (userScrollEnabled) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutSemantics.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scrollToIndexAction' with type Function1<? super Integer, ? extends Boolean>." |
| errorLine1=" val scrollToIndexAction: ((Int) -> Boolean)? = if (userScrollEnabled) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/layout/LazyLayoutSemantics.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'measurePolicy' with type Function2<? super LazyLayoutMeasureScope, ? super Constraints, ? extends MeasureResult>." |
| errorLine1=" val measurePolicy = rememberLazyListMeasurePolicy(" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyList.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<LazyLayoutMeasureScope, Constraints, MeasureResult> of 'rememberLazyListMeasurePolicy'." |
| errorLine1="private fun rememberLazyListMeasurePolicy(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyList.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyListInterval has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" override val key: ((index: Int) -> Any)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyListInterval has parameter 'type' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" override val type: ((index: Int) -> Any?)," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyListInterval has parameter 'item' with type Function2<? super LazyItemScope, ? super Integer, Unit>." |
| errorLine1=" val item: @Composable LazyItemScope.(index: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<LazyItemScope, Integer, Unit> of 'getItem'." |
| errorLine1=" val item: @Composable LazyItemScope.(index: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'reverseAware' with type Function1<? super Integer, ? extends Integer>." |
| errorLine1=" fun Int.reverseAware() =" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'measurePolicy' with type Function2<? super LazyLayoutMeasureScope, ? super Constraints, ? extends LazyStaggeredGridMeasureResult>." |
| errorLine1=" val measurePolicy = rememberStaggeredGridMeasurePolicy(" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGrid.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyStaggeredGridSlotCache has parameter 'calculation' with type Function2<? super Density, ? super Constraints, LazyStaggeredGridSlots>." |
| errorLine1=" private val calculation: Density.(Constraints) -> LazyStaggeredGridSlots" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" key: ((index: Int) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'contentType' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" contentType: (index: Int) -> Any? = { null }," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'span' with type Function1<? super Integer, StaggeredGridItemSpan>." |
| errorLine1=" span: ((index: Int) -> StaggeredGridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method items has parameter 'itemContent' with type Function2<? super LazyStaggeredGridItemScope, ? super Integer, Unit>." |
| errorLine1=" itemContent: @Composable LazyStaggeredGridItemScope.(index: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method itemsIndexed has parameter 'key' with type Function2<? super Integer, ? super T, ? extends Object>." |
| errorLine1=" noinline key: ((index: Int, item: T) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method itemsIndexed has parameter 'span' with type Function2<? super Integer, ? super T, StaggeredGridItemSpan>." |
| errorLine1=" noinline span: ((index: Int, item: T) -> StaggeredGridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method itemsIndexed has parameter 'key' with type Function2<? super Integer, ? super T, ? extends Object>." |
| errorLine1=" noinline key: ((index: Int, item: T) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method itemsIndexed has parameter 'span' with type Function2<? super Integer, ? super T, StaggeredGridItemSpan>." |
| errorLine1=" noinline span: ((index: Int, item: T) -> StaggeredGridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyStaggeredGridInterval has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" override val key: ((index: Int) -> Any)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyStaggeredGridInterval has parameter 'type' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" override val type: ((index: Int) -> Any?)," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyStaggeredGridInterval has parameter 'span' with type Function1<? super Integer, StaggeredGridItemSpan>." |
| errorLine1=" val span: ((index: Int) -> StaggeredGridItemSpan)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Integer, StaggeredGridItemSpan> of 'getSpan'." |
| errorLine1=" val span: ((index: Int) -> StaggeredGridItemSpan)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyStaggeredGridInterval has parameter 'item' with type Function2<? super LazyStaggeredGridItemScope, ? super Integer, Unit>." |
| errorLine1=" val item: @Composable LazyStaggeredGridItemScope.(Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<LazyStaggeredGridItemScope, Integer, Unit> of 'getItem'." |
| errorLine1=" val item: @Composable LazyStaggeredGridItemScope.(Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'misalignedStart' with type Function1<? super Integer, ? extends Boolean>." |
| errorLine1=" fun misalignedStart(referenceLane: Int): Boolean {" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<LazyLayoutMeasureScope, Constraints, LazyStaggeredGridMeasureResult> of 'rememberStaggeredGridMeasurePolicy'." |
| errorLine1="): LazyLayoutMeasureScope.(Constraints) -> LazyStaggeredGridMeasureResult = remember(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasurePolicy.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LazyStaggeredGridScrollPosition has parameter 'fillIndices' with type Function2<? super Integer, ? super Integer, int[]>." |
| errorLine1=" private val fillIndices: (targetIndex: Int, laneCount: Int) -> IntArray" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridScrollPosition.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'span' with type Function1<? super Integer, ? extends StaggeredGridItemSpan>." |
| errorLine1=" val span = value.span" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridSpan.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type SemanticsPropertyKey<Function0<Offset>> of 'getMagnifierPositionInRoot'." |
| errorLine1="internal val MagnifierPositionInRoot =" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method magnifier has parameter 'sourceCenter' with type Function1<? super Density, Offset>." |
| errorLine1=" sourceCenter: Density.() -> Offset," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method magnifier has parameter 'magnifierCenter' with type Function1<? super Density, Offset>." |
| errorLine1=" magnifierCenter: (Density.() -> Offset)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method magnifier has parameter 'onSizeChanged' with type Function1<? super DpSize, Unit>." |
| errorLine1=" onSizeChanged: ((DpSize) -> Unit)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method magnifier has parameter 'sourceCenter' with type Function1<? super Density, Offset>." |
| errorLine1=" sourceCenter: Density.() -> Offset," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method magnifier has parameter 'magnifierCenter' with type Function1<? super Density, Offset>." |
| errorLine1=" magnifierCenter: (Density.() -> Offset)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method magnifier has parameter 'onSizeChanged' with type Function1<? super DpSize, Unit>." |
| errorLine1=" onSizeChanged: ((DpSize) -> Unit)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor MagnifierElement has parameter 'sourceCenter' with type Function1<? super Density, Offset>." |
| errorLine1=" private val sourceCenter: Density.() -> Offset," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor MagnifierElement has parameter 'magnifierCenter' with type Function1<? super Density, Offset>." |
| errorLine1=" private val magnifierCenter: (Density.() -> Offset)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor MagnifierElement has parameter 'onSizeChanged' with type Function1<? super DpSize, Unit>." |
| errorLine1=" private val onSizeChanged: ((DpSize) -> Unit)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor MagnifierNode has parameter 'sourceCenter' with type Function1<? super Density, Offset>." |
| errorLine1=" var sourceCenter: Density.() -> Offset," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setSourceCenter has parameter '<set-?>' with type Function1<? super Density, Offset>." |
| errorLine1=" var sourceCenter: Density.() -> Offset," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Density, Offset> of 'getSourceCenter'." |
| errorLine1=" var sourceCenter: Density.() -> Offset," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor MagnifierNode has parameter 'magnifierCenter' with type Function1<? super Density, Offset>." |
| errorLine1=" var magnifierCenter: (Density.() -> Offset)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setMagnifierCenter has parameter '<set-?>' with type Function1<? super Density, Offset>." |
| errorLine1=" var magnifierCenter: (Density.() -> Offset)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Density, Offset> of 'getMagnifierCenter'." |
| errorLine1=" var magnifierCenter: (Density.() -> Offset)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor MagnifierNode has parameter 'onSizeChanged' with type Function1<? super DpSize, Unit>." |
| errorLine1=" var onSizeChanged: ((DpSize) -> Unit)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setOnSizeChanged has parameter '<set-?>' with type Function1<? super DpSize, Unit>." |
| errorLine1=" var onSizeChanged: ((DpSize) -> Unit)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<DpSize, Unit> of 'getOnSizeChanged'." |
| errorLine1=" var onSizeChanged: ((DpSize) -> Unit)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method update has parameter 'sourceCenter' with type Function1<? super Density, Offset>." |
| errorLine1=" sourceCenter: Density.() -> Offset," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method update has parameter 'magnifierCenter' with type Function1<? super Density, Offset>." |
| errorLine1=" magnifierCenter: (Density.() -> Offset)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method update has parameter 'onSizeChanged' with type Function1<? super DpSize, Unit>." |
| errorLine1=" onSizeChanged: ((DpSize) -> Unit)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/foundation/Magnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method applyToScroll has parameter 'performScroll' with type Function1<? super Offset, Offset>." |
| errorLine1=" performScroll: (Offset) -> Offset" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/Overscroll.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method applyToFling has parameter 'performFling' with type Function2<? super Velocity, ? super Continuation<? super Velocity>, ? extends Object>." |
| errorLine1=" suspend fun applyToFling(velocity: Velocity, performFling: suspend (Velocity) -> Velocity)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/Overscroll.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method HorizontalPager has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" key: ((index: Int) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/Pager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method HorizontalPager has parameter 'pageContent' with type Function2<? super PagerScope, ? super Integer, Unit>." |
| errorLine1=" pageContent: @Composable PagerScope.(page: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/Pager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method VerticalPager has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" key: ((index: Int) -> Any)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/Pager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method VerticalPager has parameter 'pageContent' with type Function2<? super PagerScope, ? super Integer, Unit>." |
| errorLine1=" pageContent: @Composable PagerScope.(page: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/Pager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method measurePager has parameter 'layout' with type Function3<? super Integer, ? super Integer, ? super Function1<? super PlacementScope, Unit>, ? extends MeasureResult>." |
| errorLine1=" layout: (Int, Int, Placeable.PlacementScope.() -> Unit) -> MeasureResult" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method createPagesAfterList has parameter 'getAndMeasure' with type Function1<? super Integer, MeasuredPage>." |
| errorLine1=" getAndMeasure: (Int) -> MeasuredPage" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method createPagesBeforeList has parameter 'getAndMeasure' with type Function1<? super Integer, MeasuredPage>." |
| errorLine1=" getAndMeasure: (Int) -> MeasuredPage" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'reverseAware' with type Function1<? super Integer, ? extends Integer>." |
| errorLine1=" fun Int.reverseAware() =" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<LazyLayoutMeasureScope, Constraints, MeasureResult> of 'rememberPagerMeasurePolicy'." |
| errorLine1="internal fun rememberPagerMeasurePolicy(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasurePolicy.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberPagerMeasurePolicy has parameter 'pageCount' with type Function0<Integer>." |
| errorLine1=" pageCount: () -> Int," |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasurePolicy.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberPagerState has parameter 'pageCount' with type Function0<Integer>." |
| errorLine1=" pageCount: () -> Int" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor PagerStateImpl has parameter 'updatedPageCount' with type Function0<Integer>." |
| errorLine1=" updatedPageCount: () -> Int" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setPageCountState has parameter '<set-?>' with type MutableState<Function0<Integer>>." |
| errorLine1=" var pageCountState = mutableStateOf(updatedPageCount)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type MutableState<Function0<Integer>> of 'getPageCountState'." |
| errorLine1=" var pageCountState = mutableStateOf(updatedPageCount)" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/pager/PagerState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectMoves has parameter 'onMove' with type Function1<? super Offset, Unit>." |
| errorLine1=" onMove: (Offset) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/PointerMoveDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'performScroll' with type Function1<? super Offset, ? extends Offset>." |
| errorLine1=" val performScroll: (Offset) -> Offset = { delta ->" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Scrollable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'performFling' with type Function2<? super Velocity, ? super Continuation<? super Velocity>, ? extends Object>." |
| errorLine1=" val performFling: suspend (Velocity) -> Velocity = { velocity ->" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Scrollable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'outerScopeScroll' with type Function1<? super Offset, ? extends Offset>." |
| errorLine1=" val outerScopeScroll: (Offset) -> Offset = { delta ->" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Scrollable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method ScrollableState has parameter 'consumeScrollDelta' with type Function1<? super Float, Float>." |
| errorLine1="fun ScrollableState(consumeScrollDelta: (Float) -> Float): ScrollableState {" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/ScrollableState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberScrollableState has parameter 'consumeScrollDelta' with type Function1<? super Float, Float>." |
| errorLine1="fun rememberScrollableState(consumeScrollDelta: (Float) -> Float): ScrollableState {" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/ScrollableState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor DefaultScrollableState has parameter 'onDelta' with type Function1<? super Float, Float>." |
| errorLine1="private class DefaultScrollableState(val onDelta: (Float) -> Float) : ScrollableState {" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/ScrollableState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Float, Float> of 'getOnDelta'." |
| errorLine1="private class DefaultScrollableState(val onDelta: (Float) -> Float) : ScrollableState {" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/ScrollableState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animatedSelectionMagnifier has parameter 'magnifierCenter' with type Function0<Offset>." |
| errorLine1=" magnifierCenter: () -> Offset," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionMagnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberAnimatedMagnifierPosition has parameter 'targetCalculation' with type Function0<Offset>." |
| errorLine1=" targetCalculation: () -> Offset," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionMagnifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectNonConsumingTap has parameter 'onTap' with type Function1<? super Offset, Unit>." |
| errorLine1=" private suspend fun PointerInputScope.detectNonConsumingTap(onTap: (Offset) -> Unit) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setOnPositionChangeCallback$lint_module has parameter '<set-?>' with type Function1<? super Long, Unit>." |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Long, Unit> of 'getOnPositionChangeCallback$lint_module'." |
| errorLine1=" internal var onPositionChangeCallback: ((Long) -> Unit)? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setOnSelectionUpdateStartCallback$lint_module has parameter '<set-?>' with type Function4<? super Boolean, ? super LayoutCoordinates, ? super Offset, ? super SelectionAdjustment, Unit>." |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function4<Boolean, LayoutCoordinates, Offset, SelectionAdjustment, Unit> of 'getOnSelectionUpdateStartCallback$lint_module'." |
| errorLine1=" ((Boolean, LayoutCoordinates, Offset, SelectionAdjustment) -> Unit)? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setOnSelectionUpdateSelectAll$lint_module has parameter '<set-?>' with type Function2<? super Boolean, ? super Long, Unit>." |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Boolean, Long, Unit> of 'getOnSelectionUpdateSelectAll$lint_module'." |
| errorLine1=" internal var onSelectionUpdateSelectAll: (" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setOnSelectionUpdateCallback$lint_module has parameter '<set-?>' with type Function6<? super Boolean, ? super LayoutCoordinates, ? super Offset, ? super Offset, ? super Boolean, ? super SelectionAdjustment, Boolean>." |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function6<Boolean, LayoutCoordinates, Offset, Offset, Boolean, SelectionAdjustment, Boolean> of 'getOnSelectionUpdateCallback$lint_module'." |
| errorLine1=" ((Boolean, LayoutCoordinates, Offset, Offset, Boolean, SelectionAdjustment) -> Boolean)? =" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setOnSelectableChangeCallback$lint_module has parameter '<set-?>' with type Function1<? super Long, Unit>." |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Long, Unit> of 'getOnSelectableChangeCallback$lint_module'." |
| errorLine1=" internal var onSelectableChangeCallback: ((Long) -> Unit)? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setAfterSelectableUnsubscribe$lint_module has parameter '<set-?>' with type Function1<? super Long, Unit>." |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<Long, Unit> of 'getAfterSelectableUnsubscribe$lint_module'." |
| errorLine1=" internal var afterSelectableUnsubscribe: ((Long) -> Unit)? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionRegistrarImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method performFling has parameter 'onSettlingDistanceUpdated' with type Function1<? super Float, Unit>." |
| errorLine1=" onSettlingDistanceUpdated: (Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/SnapFlingBehavior.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method fling has parameter 'onRemainingScrollOffsetUpdate' with type Function1<? super Float, Unit>." |
| errorLine1=" onRemainingScrollOffsetUpdate: (Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/SnapFlingBehavior.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method runApproach has parameter 'onAnimationStep' with type Function1<? super Float, Unit>." |
| errorLine1=" onAnimationStep: (delta: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/SnapFlingBehavior.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method approach has parameter 'onAnimationStep' with type Function1<? super Float, Unit>." |
| errorLine1=" onAnimationStep: (delta: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/SnapFlingBehavior.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateDecay has parameter 'onAnimationStep' with type Function1<? super Float, Unit>." |
| errorLine1=" onAnimationStep: (delta: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/SnapFlingBehavior.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'consumeDelta' with type Function2<? super AnimationScope<Float, AnimationVector1D>, ? super Float, ? extends Unit>." |
| errorLine1=" fun AnimationScope<Float, AnimationVector1D>.consumeDelta(delta: Float) {" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/SnapFlingBehavior.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method approachAnimation has parameter 'onAnimationStep' with type Function1<? super Float, Unit>." |
| errorLine1=" onAnimationStep: (delta: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/SnapFlingBehavior.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method approachAnimation has parameter 'onAnimationStep' with type Function1<? super Float, Unit>." |
| errorLine1=" onAnimationStep: (delta: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/SnapFlingBehavior.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'isValidDistance' with type Function1<? super Float, ? extends Boolean>." |
| errorLine1=" fun Float.isValidDistance(): Boolean {" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/SnapFlingBehavior.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectTapGestures has parameter 'onDoubleTap' with type Function1<? super Offset, Unit>." |
| errorLine1=" onDoubleTap: ((Offset) -> Unit)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/TapGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectTapGestures has parameter 'onLongPress' with type Function1<? super Offset, Unit>." |
| errorLine1=" onLongPress: ((Offset) -> Unit)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/TapGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectTapGestures has parameter 'onPress' with type Function3<? super PressGestureScope, ? super Offset, ? super Continuation<? super Unit>, ? extends Object>." |
| errorLine1=" onPress: suspend PressGestureScope.(Offset) -> Unit = NoPressGesture," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/TapGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectTapGestures has parameter 'onTap' with type Function1<? super Offset, Unit>." |
| errorLine1=" onTap: ((Offset) -> Unit)? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/TapGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectTapAndPress has parameter 'onPress' with type Function3<? super PressGestureScope, ? super Offset, ? super Continuation<? super Unit>, ? extends Object>." |
| errorLine1=" onPress: suspend PressGestureScope.(Offset) -> Unit = NoPressGesture," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/TapGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectTapAndPress has parameter 'onTap' with type Function1<? super Offset, Unit>." |
| errorLine1=" onTap: ((Offset) -> Unit)? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/TapGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method platformSpecificTextInputSession has parameter 'onImeAction' with type Function1<? super ImeAction, Unit>." |
| errorLine1=" onImeAction: ((ImeAction) -> Unit)?" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text2/input/internal/TextFieldDecoratorModifier.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method restartInput$lint_module has parameter 'onImeActionPerformed' with type Function1<? super ImeAction, Unit>." |
| errorLine1=" onImeActionPerformed: (ImeAction) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldDelegate.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method restartInput$lint_module has parameter 'onImeActionPerformed' with type Function1<? super ImeAction, Unit>." |
| errorLine1=" onImeActionPerformed: (ImeAction) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldDelegate.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method onFocus$lint_module has parameter 'onImeActionPerformed' with type Function1<? super ImeAction, Unit>." |
| errorLine1=" onImeActionPerformed: (ImeAction) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldDelegate.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method onFocus$lint_module has parameter 'onImeActionPerformed' with type Function1<? super ImeAction, Unit>." |
| errorLine1=" onImeActionPerformed: (ImeAction) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldDelegate.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method tapPressTextFieldModifier has parameter 'onTap' with type Function1<? super Offset, Unit>." |
| errorLine1=" onTap: (Offset) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldPressGestureFilter.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectTransformGestures has parameter 'onGesture' with type Function4<? super Offset, ? super Offset, ? super Float, ? super Float, Unit>." |
| errorLine1=" onGesture: (centroid: Offset, pan: Offset, zoom: Float, rotation: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/TransformGestureDetector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method transformable has parameter 'canPan' with type Function1<? super Offset, Boolean>." |
| errorLine1=" canPan: (Offset) -> Boolean," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Transformable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor TransformableElement has parameter 'canPan' with type Function1<? super Offset, Boolean>." |
| errorLine1=" private val canPan: (Offset) -> Boolean," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Transformable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor TransformableNode has parameter 'canPan' with type Function1<? super Offset, Boolean>." |
| errorLine1=" private var canPan: (Offset) -> Boolean," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Transformable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method update has parameter 'canPan' with type Function1<? super Offset, Boolean>." |
| errorLine1=" canPan: (Offset) -> Boolean," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Transformable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method detectZoom has parameter 'canPan' with type Function1<? super Offset, Boolean>." |
| errorLine1=" canPan: (Offset) -> Boolean" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/Transformable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method TransformableState has parameter 'onTransformation' with type Function3<? super Float, ? super Offset, ? super Float, Unit>." |
| errorLine1=" onTransformation: (zoomChange: Float, panChange: Offset, rotationChange: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/TransformableState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberTransformableState has parameter 'onTransformation' with type Function3<? super Float, ? super Offset, ? super Float, Unit>." |
| errorLine1=" onTransformation: (zoomChange: Float, panChange: Offset, rotationChange: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/TransformableState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor DefaultTransformableState has parameter 'onTransformation' with type Function3<? super Float, ? super Offset, ? super Float, Unit>." |
| errorLine1=" val onTransformation: (zoomChange: Float, panChange: Offset, rotationChange: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/TransformableState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function3<Float, Offset, Float, Unit> of 'getOnTransformation'." |
| errorLine1=" val onTransformation: (zoomChange: Float, panChange: Offset, rotationChange: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/TransformableState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateToZero has parameter 'beforeFrame' with type Function1<? super Float, Unit>." |
| errorLine1=" beforeFrame: (valueDelta: Float) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/foundation/gestures/UpdatableAnimationState.kt"/> |
| </issue> |
| |
| </issues> |