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 f1ad34c commit 2663794Copy full SHA for 2663794
compose/snippets/src/main/java/com/example/compose/snippets/components/Menu.kt
@@ -88,8 +88,14 @@ fun BasicDropdownMenu() {
88
Icon(Icons.Default.MoreVert, "")
89
}
90
DropdownMenu(expanded = shouldDisplayMenu, onDismissRequest = { shouldDisplayMenu = false }) {
91
- DropdownMenuItem(text = { Text("Refresh") }, onClick = { /* Handle refresh! */ })
92
- DropdownMenuItem(text = { Text("Settings") }, onClick = { /* Handle settings! */ })
+ DropdownMenuItem(
+ text = { Text("Refresh") },
93
+ onClick = { /* Handle refresh! */ }
94
+ )
95
96
+ text = { Text("Settings") },
97
+ onClick = { /* Handle settings! */ }
98
99
100
101
)
0 commit comments