| <?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="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5000L)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/tv/foundation/lazy/list/LazyListTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5000L)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/tv/foundation/lazy/list/LazyListTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/tv/foundation/lazy/list/LazyScrollTest.kt"/> |
| </issue> |
| |
| <issue |
| id="BanThreadSleep" |
| message="Uses Thread.sleep()" |
| errorLine1=" Thread.sleep(5)" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/tv/foundation/lazy/grid/LazyScrollTest.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/main/java/androidx/tv/foundation/lazy/list/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/main/java/androidx/tv/foundation/lazy/list/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 TvLazyListItemScope, ? super Integer, Unit>." |
| errorLine1=" itemContent: @Composable TvLazyListItemScope.(index: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/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/main/java/androidx/tv/foundation/lazy/list/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/main/java/androidx/tv/foundation/lazy/list/LazyDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method LazyGrid has parameter 'slots' with type Function2<? super Density, ? super Constraints, LazyGridSlots>." |
| errorLine1=" slots: Density.(Constraints) -> LazyGridSlots," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/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 'measurePolicy' with type Function2<? super LazyLayoutMeasureScope, ? super Constraints, ? extends MeasureResult>." |
| errorLine1=" val measurePolicy = rememberLazyGridMeasurePolicy(" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/tv/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/main/java/androidx/tv/foundation/lazy/grid/LazyGrid.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberLazyGridMeasurePolicy has parameter 'slots' with type Function2<? super Density, ? super Constraints, LazyGridSlots>." |
| errorLine1=" slots: Density.(Constraints) -> LazyGridSlots," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/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/main/java/androidx/tv/foundation/lazy/grid/LazyGridAnimateScrollScope.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Density, Constraints, LazyGridSlots> of 'rememberColumnWidthSums'." |
| errorLine1="private fun rememberColumnWidthSums(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridDsl.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Density, Constraints, LazyGridSlots> of 'rememberRowHeightSums'." |
| errorLine1="private fun rememberRowHeightSums(" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridDsl.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/main/java/androidx/tv/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 TvLazyGridItemSpanScope, TvGridItemSpan>." |
| errorLine1=" span: (TvLazyGridItemSpanScope.() -> TvGridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/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/main/java/androidx/tv/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 TvLazyGridItemSpanScope, ? super Integer, TvGridItemSpan>." |
| errorLine1=" span: (TvLazyGridItemSpanScope.(index: Int) -> TvGridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/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/main/java/androidx/tv/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 TvLazyGridItemScope, ? super Integer, Unit>." |
| errorLine1=" itemContent: @Composable TvLazyGridItemScope.(index: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/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 TvLazyGridItemSpanScope, ? super T, TvGridItemSpan>." |
| errorLine1=" noinline span: (TvLazyGridItemSpanScope.(item: T) -> TvGridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/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/main/java/androidx/tv/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 TvLazyGridItemSpanScope, ? super Integer, ? super T, TvGridItemSpan>." |
| errorLine1=" noinline span: (TvLazyGridItemSpanScope.(index: Int, item: T) -> TvGridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/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 TvLazyGridItemSpanScope, ? super T, TvGridItemSpan>." |
| errorLine1=" noinline span: (TvLazyGridItemSpanScope.(item: T) -> TvGridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/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/main/java/androidx/tv/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 TvLazyGridItemSpanScope, ? super Integer, ? super T, TvGridItemSpan>." |
| errorLine1=" noinline span: (TvLazyGridItemSpanScope.(index: Int, item: T) -> TvGridItemSpan)? = null," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/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 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/main/java/androidx/tv/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/main/java/androidx/tv/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 'var72d50710' with type Function2<? super TvLazyGridItemSpanScope, ? super Integer, ? extends TvGridItemSpan>." |
| errorLine1=" span = span?.let { { span() } } ?: DefaultSpan," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'vara1157cff' with type Function2<? super TvLazyGridItemSpanScope, ? super Integer, ? extends TvGridItemSpan>." |
| errorLine1=" span = span ?: DefaultSpan," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<TvLazyGridItemSpanScope, Integer, TvGridItemSpan> of 'getDefaultSpan'." |
| errorLine1=" val DefaultSpan: TvLazyGridItemSpanScope.(Int) -> TvGridItemSpan =" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.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/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.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 TvLazyGridItemSpanScope, ? super Integer, TvGridItemSpan>." |
| errorLine1=" val span: TvLazyGridItemSpanScope.(Int) -> TvGridItemSpan," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<TvLazyGridItemSpanScope, Integer, TvGridItemSpan> of 'getSpan'." |
| errorLine1=" val span: TvLazyGridItemSpanScope.(Int) -> TvGridItemSpan," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.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/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.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 TvLazyGridItemScope, ? super Integer, Unit>." |
| errorLine1=" val item: @Composable TvLazyGridItemScope.(Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<TvLazyGridItemScope, Integer, Unit> of 'getItem'." |
| errorLine1=" val item: @Composable TvLazyGridItemScope.(Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/grid/LazyGridSpanLayoutProvider.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/main/java/androidx/tv/foundation/lazy/layout/LazyLayoutKeyIndexMap.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/main/java/androidx/tv/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/main/java/androidx/tv/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/main/java/androidx/tv/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/main/java/androidx/tv/foundation/lazy/list/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/main/java/androidx/tv/foundation/lazy/list/LazyList.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/main/java/androidx/tv/foundation/lazy/list/LazyListMeasure.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/main/java/androidx/tv/foundation/lazy/grid/TvLazyGridState.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/main/java/androidx/tv/foundation/lazy/grid/TvLazyGridState.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor TvLazyListInterval has parameter 'key' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" override val key: ((index: Int) -> Any)?," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/TvLazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor TvLazyListInterval has parameter 'type' with type Function1<? super Integer, ? extends Object>." |
| errorLine1=" override val type: ((index: Int) -> Any?)," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/TvLazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor TvLazyListInterval has parameter 'item' with type Function2<? super TvLazyListItemScope, ? super Integer, Unit>." |
| errorLine1=" val item: @Composable TvLazyListItemScope.(index: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/TvLazyListIntervalContent.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<TvLazyListItemScope, Integer, Unit> of 'getItem'." |
| errorLine1=" val item: @Composable TvLazyListItemScope.(index: Int) -> Unit" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/tv/foundation/lazy/list/TvLazyListIntervalContent.kt"/> |
| </issue> |
| |
| </issues> |