Arkadii Ivanov
04/26/2021, 6:01 PMArkadii Ivanov
04/26/2021, 6:01 PMLouis Pullen-Freilich [G]
04/26/2021, 6:09 PM@Suppress("UnusedCrossfadeTargetStateParameter")
around the function it is failing on
Could you share the code it is failing on? I guess you defined some extension methods similar to the ones the lint check runs on 🙂Arkadii Ivanov
04/26/2021, 6:14 PM@Suppress
seems like does not help, the following helps though:
android {
lintOptions {
disable "UnusedCrossfadeTargetStateParameter"
}
}
Louis Pullen-Freilich [G]
04/26/2021, 6:22 PMCrossfade(
targetState = routerState.activeChild,
animationSpec = animationSpec,
) {
content(it)
}
Arkadii Ivanov
04/26/2021, 6:23 PM