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

Koneko Toujou

02/05/2023, 8:30 AM
why do i get this?
Copy code
> Task :common:compileKotlinDesktop
e: C:\Users\clark\IdeaProjects\LuaJIT_Kotlin_MultiPlatform\common\src\commonMain\kotlin\smallville7123\lua\jit\kotlin\common\App.kt: (116, 70): Unresolved reference: clickable
e: C:\Users\clark\IdeaProjects\LuaJIT_Kotlin_MultiPlatform\common\src\commonMain\kotlin\smallville7123\lua\jit\kotlin\common\App.kt: (121, 48): Unresolved reference: background
Copy code
Text(items[selectedIndex],modifier = Modifier.fillMaxWidth().clickable(onClick = { expanded = true }).background(
Copy code
modifier = Modifier.fillMaxWidth().background(
for https://foso.github.io/Jetpack-Compose-Playground/material/dropdownmenu/#dropdownmenu
i have the following
Copy code
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.material.icons.*
import androidx.compose.material.icons.twotone.*
import androidx.compose.runtime.*
import androidx.compose.ui.*
import androidx.compose.ui.graphics.*
import androidx.compose.ui.unit.*
seems to be here
Copy code
import androidx.compose.foundation.clickable
import androidx.compose.foundation.background
8 Views