https://kotlinlang.org logo
#compose
Title
# compose
k

KotlinLeaner

02/09/2023, 12:21 AM
Hi guys I am trying to access
Copy code
LocalMinimumInteractiveComponentEnforcement
but it giving me error
Unresolved reference: LocalMinimumInteractiveComponentEnforcement
Copy code
CompositionLocalProvider(
        LocalMinimumInteractiveComponentEnforcement provides false,
        content = {
            Surface(
                onClick = { },
                color = Color.Blue
            ) {
                Text(
                    modifier = Modifier.fillMaxWidth(),
                    text = "$item",
                )
            }
        }
    )
k

Kirill Grouchnikov

02/09/2023, 12:50 AM
Did you add the dependency and the import for it?
k

KotlinLeaner

02/09/2023, 8:32 AM
I have material 3 dependency
k

Kirill Grouchnikov

02/09/2023, 12:13 PM
Which version?
k

KotlinLeaner

02/09/2023, 12:13 PM
1.0.1
Check release notes to see when specific APIs have been added
35 Views