| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14"> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/CardScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/CheckboxScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/FloatingActionButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/IconButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/MaterialRippleThemeTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/MaterialRippleThemeTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/NavigationBarScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/NavigationDrawerItemScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/NavigationRailScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/RadioButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/RadioButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/RadioButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/RadioButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/RadioButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/RadioButtonScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/SwitchScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/SwitchScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/SwitchScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(300)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidAndroidTest/kotlin/androidx/compose/material3/TabScreenshotTest.kt"/> |
| </issue> |
| |
| <issue |
| id="ExperimentalPropertyAnnotation" |
| message="This property does not have all required annotations to correctly mark it as experimental." |
| errorLine1=" @ExperimentalMaterial3Api" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomSheetScaffoldLayout has parameter 'bottomSheet' with type Function1<? super Integer, Unit>." |
| errorLine1=" bottomSheet: @Composable (layoutHeight: Int) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/BottomSheetScaffold.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomSheetScaffoldLayout has parameter 'sheetOffset' with type Function0<Float>." |
| errorLine1=" sheetOffset: () -> Float," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/BottomSheetScaffold.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomSheetScaffoldAnchorChangeHandler has parameter 'animateTo' with type Function2<? super SheetValue, ? super Float, Unit>." |
| errorLine1=" animateTo: (target: SheetValue, velocity: Float) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/BottomSheetScaffold.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DateInputContent has parameter 'onDateSelectionChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDateSelectionChange: (dateInMillis: Long?) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DateInput.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DateInputTextField has parameter 'onDateSelectionChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDateSelectionChange: (Long?) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DateInput.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DisplayModeToggleButton has parameter 'onDisplayModeChange' with type Function1<? super DisplayMode, Unit>." |
| errorLine1=" onDisplayModeChange: (DisplayMode) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method SwitchableDateEntryContent has parameter 'onDateSelectionChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDateSelectionChange: (dateInMillis: Long?) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method SwitchableDateEntryContent has parameter 'onDisplayedMonthChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDisplayedMonthChange: (monthInMillis: Long) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DatePickerContent has parameter 'onDateSelectionChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDateSelectionChange: (dateInMillis: Long) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DatePickerContent has parameter 'onDisplayedMonthChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDisplayedMonthChange: (monthInMillis: Long) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method HorizontalMonthsList has parameter 'onDateSelectionChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDateSelectionChange: (dateInMillis: Long) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method HorizontalMonthsList has parameter 'onDisplayedMonthChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDisplayedMonthChange: (monthInMillis: Long) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method updateDisplayedMonth has parameter 'onDisplayedMonthChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDisplayedMonthChange: (monthInMillis: Long) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Month has parameter 'onDateSelectionChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDateSelectionChange: (dateInMillis: Long) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method YearPicker has parameter 'onYearSelected' with type Function1<? super Integer, Unit>." |
| errorLine1=" onYearSelected: (year: Int) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DateRangeInputContent has parameter 'onDatesSelectionChange' with type Function2<? super Long, ? super Long, Unit>." |
| errorLine1=" onDatesSelectionChange: (startDateMillis: Long?, endDateMillis: Long?) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DateRangeInput.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method SwitchableDateEntryContent has parameter 'onDatesSelectionChange' with type Function2<? super Long, ? super Long, Unit>." |
| errorLine1=" onDatesSelectionChange: (startDateMillis: Long?, endDateMillis: Long?) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DateRangePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method SwitchableDateEntryContent has parameter 'onDisplayedMonthChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDisplayedMonthChange: (monthInMillis: Long) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DateRangePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DateRangePickerContent has parameter 'onDatesSelectionChange' with type Function2<? super Long, ? super Long, Unit>." |
| errorLine1=" onDatesSelectionChange: (startDateMillis: Long?, endDateMillis: Long?) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DateRangePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DateRangePickerContent has parameter 'onDisplayedMonthChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDisplayedMonthChange: (monthInMillis: Long) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DateRangePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method VerticalMonthsList has parameter 'onDatesSelectionChange' with type Function2<? super Long, ? super Long, Unit>." |
| errorLine1=" onDatesSelectionChange: (startDateMillis: Long?, endDateMillis: Long?) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DateRangePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method VerticalMonthsList has parameter 'onDisplayedMonthChange' with type Function1<? super Long, Unit>." |
| errorLine1=" onDisplayedMonthChange: (monthInMillis: Long) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DateRangePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'onDateSelectionChange' with type Function1<? super Long, ? extends Unit>." |
| errorLine1=" val onDateSelectionChange = { dateInMillis: Long ->" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DateRangePicker.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method updateDateSelection has parameter 'onDatesSelectionChange' with type Function2<? super Long, ? super Long, Unit>." |
| errorLine1=" onDatesSelectionChange: (startDateMillis: Long?, endDateMillis: Long?) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/DateRangePicker.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/material3/DragGestureDetectorCopy.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method updateHeight has parameter 'onHeightUpdate' with type Function1<? super Integer, Unit>." |
| errorLine1=" onHeightUpdate: (Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/material3/ExposedDropdownMenu.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'settleToDismiss' with type Function1<? super Float, ? extends Unit>." |
| errorLine1=" val settleToDismiss: (velocity: Float) -> Unit = {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/material3/ModalBottomSheet.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method modalBottomSheetSwipeable has parameter 'onDragStopped' with type Function2<? super CoroutineScope, ? super Float, Unit>." |
| errorLine1=" onDragStopped: CoroutineScope.(velocity: Float) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/material3/ModalBottomSheet.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method ModalBottomSheetAnchorChangeHandler has parameter 'animateTo' with type Function2<? super SheetValue, ? super Float, Unit>." |
| errorLine1=" animateTo: (target: SheetValue, velocity: Float) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidMain/kotlin/androidx/compose/material3/ModalBottomSheet.android.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Scrim has parameter 'fraction' with type Function0<Float>." |
| errorLine1=" fraction: () -> Float," |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/NavigationDrawer.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method OutlinedTextFieldLayout has parameter 'onLabelMeasured' with type Function1<? super Size, Unit>." |
| errorLine1=" onLabelMeasured: (Size) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor OutlinedTextFieldMeasurePolicy has parameter 'onLabelMeasured' with type Function1<? super Size, Unit>." |
| errorLine1=" private val onLabelMeasured: (Size) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intrinsicWidth has parameter 'intrinsicMeasurer' with type Function2<? super IntrinsicMeasurable, ? super Integer, Integer>." |
| errorLine1=" intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intrinsicHeight has parameter 'intrinsicMeasurer' with type Function2<? super IntrinsicMeasurable, ? super Integer, Integer>." |
| errorLine1=" intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'calculateVerticalPosition' with type Function1<? super Placeable, ? extends Integer>." |
| errorLine1=" // Single line text fields have text components centered vertically." |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method ConsumeSwipeWithinBottomSheetBoundsNestedScrollConnection has parameter 'onFling' with type Function1<? super Float, Unit>." |
| errorLine1=" onFling: (velocity: Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/SheetDefaults.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Slider has parameter 'onValueChange' with type Function1<? super Float, Unit>." |
| errorLine1=" onValueChange: (Float) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Slider has parameter 'onValueChange' with type Function1<? super Float, Unit>." |
| errorLine1=" onValueChange: (Float) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method RangeSlider has parameter 'onValueChange' with type Function1<? super FloatRange, Unit>." |
| errorLine1=" onValueChange: (FloatRange) -> Unit," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'postPointerSlop' with type Function2<? super PointerInputChange, ? super Float, ? extends Unit>." |
| errorLine1=" val postPointerSlop = { pointerInput: PointerInputChange, offset: Float ->" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor SliderDraggableState has parameter 'onDelta' with type Function1<? super Float, Unit>." |
| errorLine1=" val onDelta: (Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.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=" val onDelta: (Float) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor SliderState has parameter 'initialOnValueChange' with type Function1<? super Float, Unit>." |
| errorLine1=" initialOnValueChange: ((Float) -> Unit)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setOnValueChange$lint_module has parameter '<set-?>' with type Function1<? super Float, Unit>." |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.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 'getOnValueChange$lint_module'." |
| errorLine1=" internal var onValueChange: (Float) -> Unit = {" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function3<PressGestureScope, Offset, Continuation<? super Unit>, Object> of 'getPress$lint_module'." |
| errorLine1=" internal val press: suspend PressGestureScope.(Offset) -> Unit = { pos ->" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor RangeSliderState has parameter 'initialOnValueChange' with type Function1<? super FloatRange, Unit>." |
| errorLine1=" initialOnValueChange: ((FloatRange) -> Unit)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setOnValueChange$lint_module has parameter '<set-?>' with type Function1<? super FloatRange, Unit>." |
| errorLine1=" internal var onValueChange: (FloatRange) -> Unit = {" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<FloatRange, Unit> of 'getOnValueChange$lint_module'." |
| errorLine1=" internal var onValueChange: (FloatRange) -> Unit = {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Boolean, Float, Unit> of 'getOnDrag$lint_module'." |
| errorLine1=" internal val onDrag: (Boolean, Float) -> Unit = { isStart, offset ->" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Slider.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/material3/SnapFlingBehavior.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'calculateSnappingOffsetBounds' with type Function0<? extends FloatRange>." |
| errorLine1=" fun calculateSnappingOffsetBounds(): FloatRange {" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/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/material3/SnapFlingBehavior.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setThresholds$lint_module has parameter '<set-?>' with type Function2<? super Float, ? super Float, Float>." |
| errorLine1=" internal var thresholds: (Float, Float) -> Float by mutableStateOf({ _, _ -> 0f })" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Float, Float, Float> of 'getThresholds$lint_module'." |
| errorLine1=" internal var thresholds: (Float, Float) -> Float by mutableStateOf({ _, _ -> 0f })" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method computeTarget has parameter 'thresholds' with type Function2<? super Float, ? super Float, Float>." |
| errorLine1=" thresholds: (Float, Float) -> Float," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Swipeable.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method swipeAnchors has parameter 'calculateAnchor' with type Function2<? super T, ? super IntSize, Float>." |
| errorLine1=" calculateAnchor: (value: T, layoutSize: IntSize) -> Float?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'valueToOffset' with type Function1<? super Boolean, ? extends Float>." |
| errorLine1=" val valueToOffset = remember<(Boolean) -> Float>(minBound, maxBound) {" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/Switch.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intrinsicWidth has parameter 'intrinsicMeasurer' with type Function2<? super IntrinsicMeasurable, ? super Integer, Integer>." |
| errorLine1=" intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intrinsicHeight has parameter 'intrinsicMeasurer' with type Function2<? super IntrinsicMeasurable, ? super Integer, Integer>." |
| errorLine1=" intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'calculateVerticalPosition' with type Function1<? super Placeable, ? extends Integer>." |
| errorLine1=" // Single line text field without label places its text components centered vertically." |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'labelColor' with type Function1<? super InputPhase, ? extends Color>." |
| errorLine1=" val labelColor: @Composable (InputPhase) -> Color = {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/TextFieldImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Transition has parameter 'contentColor' with type Function1<? super InputPhase, Color>." |
| errorLine1=" contentColor: @Composable (InputPhase) -> Color," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/TextFieldImpl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Transition has parameter 'content' with type Function5<? super Float, ? super Color, ? super Color, ? super Float, ? super Float, Unit>." |
| errorLine1=" content: @Composable (" |
| errorLine2=" ^"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/TextFieldImpl.kt"/> |
| </issue> |
| |
| </issues> |