We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f165a61 commit a4b47caCopy full SHA for a4b47ca
compose/snippets/src/main/java/com/example/compose/snippets/components/Menu.kt
@@ -87,7 +87,10 @@ fun BasicDropdownMenu() {
87
IconButton(onClick = { shouldDisplayMenu = !shouldDisplayMenu }) {
88
Icon(Icons.Default.MoreVert, "Overflow menu button")
89
}
90
- DropdownMenu(expanded = shouldDisplayMenu, onDismissRequest = { shouldDisplayMenu = false }) {
+ DropdownMenu(
91
+ expanded = shouldDisplayMenu,
92
+ onDismissRequest = { shouldDisplayMenu = false })
93
+ {
94
DropdownMenuItem(
95
text = { Text("Refresh") },
96
onClick = { /* Handle refresh! */ }
0 commit comments