Android (Compose) library that provides the exposed dropdown menu like this:
build.grade (project):
repositories {
// other repos
maven("https://jitpack.io")
}
build.grade (app):
dependencies {
// other dependencies
implementation("com.github.YoussefMoataz:Exposed-Dropdown-Input:1.0.0")
}
val inputValue = rememberExposedDropdownValue()
ExposedDropdownMenu(
label = "Language",
text = inputValue.value,
onValueChange = { newValue ->
inputValue.value = newValue
},
items = arrayListOf("Kotlin", "Java"),
isError = false,
supportingText = {
Text(text = "Instructions")
}
)