| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05"> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method SnappingSlider has parameter 'onValueChange' with type Function1<? super Float, Unit>." |
| errorLine1=" onValueChange: (Float) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/text/ComposeLineHeight.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'appendWithColor' with type Function2<? super Color, ? super String, ? extends Unit>." |
| errorLine1=" fun appendWithColor(color: Color, text: String) {" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/text/ComposeTextSelection.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberDragDropState has parameter 'onMove' with type Function2<? super Integer, ? super Integer, Unit>." |
| errorLine1=" onMove: (Int, Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/LazyColumnDragAndDropDemo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor DragDropState has parameter 'onMove' with type Function2<? super Integer, ? super Integer, Unit>." |
| errorLine1=" private val onMove: (Int, Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/LazyColumnDragAndDropDemo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberGridDragDropState has parameter 'onMove' with type Function2<? super Integer, ? super Integer, Unit>." |
| errorLine1=" onMove: (Int, Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/LazyGridDragAndDropDemo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor GridDragDropState has parameter 'onMove' with type Function2<? super Integer, ? super Integer, Unit>." |
| errorLine1=" private val onMove: (Int, Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/LazyGridDragAndDropDemo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'item1' with type Function1<? super Integer, ? extends Unit>." |
| errorLine1=" val item1 = @Composable { index: Int ->" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/ListDemos.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'item2' with type Function1<? super Integer, ? extends Unit>." |
| errorLine1=" val item2 = @Composable { index: Int ->" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/ListDemos.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'item' with type Function1<? super Integer, ? extends Unit>." |
| errorLine1=" val item = @Composable { index: Int ->" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/ListDemos.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method SnapLayoutInfoProvider has parameter 'itemSize' with type Function1<? super Density, Float>." |
| errorLine1=" itemSize: Density.() -> Float," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/snapping/RowSnapLayoutInfoProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method SnapLayoutInfoProvider has parameter 'layoutSize' with type Function1<? super Density, Float>." |
| errorLine1=" layoutSize: Density.() -> Float" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/snapping/RowSnapLayoutInfoProvider.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/main/java/androidx/compose/foundation/demos/snapping/RowSnapLayoutInfoProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method RowSnappingMainLayout has parameter 'onLayoutSizeChanged' with type Function1<? super IntSize, Unit>." |
| errorLine1=" onLayoutSizeChanged: (IntSize) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/snapping/RowSnappingDemos.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberRowSnapLayoutInfoProvider has parameter 'layoutSize' with type Function1<? super Density, Float>." |
| errorLine1=" layoutSize: Density.() -> Float" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/snapping/RowSnappingDemos.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberMultiPageRowSnapLayoutInfoProvider has parameter 'layoutSize' with type Function1<? super Density, Float>." |
| errorLine1=" layoutSize: Density.() -> Float" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/snapping/RowSnappingDemos.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberViewPortRowSnapLayoutInfoProvider has parameter 'layoutSize' with type Function1<? super Density, Float>." |
| errorLine1=" layoutSize: Density.() -> Float" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/snapping/RowSnappingDemos.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method ResizeHandle has parameter 'onDrag' with type Function1<? super Float, Unit>." |
| errorLine1="private fun ResizeHandle(orientation: Orientation, onDrag: (Float) -> Unit) {" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/ScrollableFocusedChildDemo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method size has parameter 'size' with type Function0<Size>." |
| errorLine1="private fun Modifier.size(size: () -> Size): Modifier = layout { measurable, _ ->" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/ScrollableFocusedChildDemo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor ViewPortBasedSnappingLayoutInfoProvider has parameter 'viewPortStep' with type Function0<Float>." |
| errorLine1=" private val viewPortStep: () -> Float" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/snapping/SnappingDemos.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method SnappingDemoMainLayout has parameter 'content' with type Function1<? super Integer, Unit>." |
| errorLine1=" content: @Composable (Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/snapping/SnappingDemos.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'setDemoIndex' with type Function1<? super Integer, ? extends Unit>." |
| errorLine1=" val (currentDemoIndex, setDemoIndex) = rememberSaveable { mutableIntStateOf(-1) }" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/text/TextFieldsInDialogDemo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'setWeight' with type Function1<? super Float, ? extends Unit>." |
| errorLine1=" val (weight, setWeight) = remember { mutableFloatStateOf(1000f) }" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/foundation/demos/text/VariableFontsDemo.kt"/> |
| </issue> |
| |
| </issues> |