| <?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="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="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="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 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 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 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 method sliderSemantics 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 return type State<Function2<Boolean, Float, Unit>> of 'getOnDrag'." |
| errorLine1=" val onDrag: State<(Boolean, 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 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 constructor DismissState has parameter 'positionalThreshold' with type Function2<? super Density, ? super Float, Float>." |
| errorLine1=" positionalThreshold: Density.(totalDistance: Float) -> Float =" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/SwipeToDismiss.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 Function2<? super Density, ? super Float, Float>." |
| errorLine1=" positionalThreshold: Density.(totalDistance: Float) -> Float," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/SwipeToDismiss.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberDismissState has parameter 'positionalThreshold' with type Function2<? super Density, ? super Float, Float>." |
| errorLine1=" positionalThreshold: Density.(totalDistance: Float) -> Float =" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/SwipeToDismiss.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Density, Float, Float> of 'getFixedPositionalThreshold'." |
| errorLine1=" val FixedPositionalThreshold: Density.(totalDistance: Float) -> Float = { _ -> 56.dp.toPx() }" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/commonMain/kotlin/androidx/compose/material3/SwipeToDismiss.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 constructor SwipeableV2State has parameter 'positionalThreshold' with type Function2<? super Density, ? super Float, Float>." |
| errorLine1=" internal val positionalThreshold: Density.(totalDistance: Float) -> 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 return type Function2<Density, Float, Float> of 'getPositionalThreshold$lint_module'." |
| errorLine1=" internal val positionalThreshold: Density.(totalDistance: Float) -> 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 method Saver has parameter 'positionalThreshold' with type Function2<? super Density, ? super Float, Float>." |
| errorLine1=" positionalThreshold: Density.(distance: Float) -> 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 return type Function2<Density, Float, Float> of 'fixedPositionalThreshold'." |
| errorLine1="internal fun fixedPositionalThreshold(threshold: Dp): Density.(distance: Float) -> 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 return type Function2<Density, Float, Float> of 'fractionalPositionalThreshold'." |
| errorLine1="): Density.(distance: Float) -> Float = { distance -> distance * fraction }" |
| 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 return type Function2<Density, Float, Float> of 'getPositionalThreshold'." |
| errorLine1=" val PositionalThreshold: Density.(totalDistance: Float) -> 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 method ReconcileAnimationOnAnchorChangeHandler$lint_module has parameter 'animate' with type Function2<? super T, ? super Float, Unit>." |
| errorLine1=" animate: (target: T, velocity: Float) -> Unit," |
| 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 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> |