| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02"> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'pickerOption' with type Function3<? super PickerScope, ? super Integer, ? super Boolean, ? extends Unit>." |
| errorLine1=" val pickerOption = pickerTextOption(textStyle) { "%02d".format(it) }" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/integration/demos/PickerDemo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method pickerGroupItemWithRSB has parameter 'option' with type Function3<? super PickerScope, ? super Integer, ? super Boolean, Unit>." |
| errorLine1=" option: @Composable PickerScope.(optionIndex: Int, pickerSelected: Boolean) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/integration/demos/PickerDemo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method pickerTextOption has parameter 'indexToText' with type Function1<? super Integer, String>." |
| errorLine1="private fun pickerTextOption(textStyle: TextStyle, indexToText: (Int) -> String):" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/integration/demos/PickerDemo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function3<PickerScope, Integer, Boolean, Unit> of 'pickerTextOption'." |
| errorLine1=" (@Composable PickerScope.(optionIndex: Int, pickerSelected: Boolean) -> Unit) = {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/integration/demos/PickerDemo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DefaultInlineSlider has parameter 'onValueChange' with type Function1<? super Float, Unit>." |
| errorLine1=" onValueChange: (Float) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/integration/demos/SliderDemo.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DefaultInlineSlider has parameter 'onValueChange' with type Function1<? super Integer, Unit>." |
| errorLine1=" onValueChange: (Int) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/compose/integration/demos/SliderDemo.kt"/> |
| </issue> |
| |
| </issues> |