79793756

Date: 2025-10-18 12:35:36
Score: 0.5
Natty:
Report link

What you're seeing is a lint warning, try suppressing the lint as follows:

AnimatedContent(
    targetState = uiState.singleId,
    transitionSpec = {
        if (targetState > initialState)
            slideInHorizontally { it } + fadeIn() togetherWith slideOutHorizontally { -it }
        else
            slideInHorizontally { -it } + fadeIn() togetherWith slideOutHorizontally { it }
    },
    label = "Fade Content",
) { @Suppress("UnusedTransitionTargetStateParameter") _ ->
    Content(dat = dat, uiState = uiState, onUiEvent = onUiEvent)
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What you
  • Low reputation (1):
Posted by: Arshad