How to show pop up on icon long-click in Jetpack Compose
Within the Settings app of Android a handy popup appears whenever I long-click on the vertical dots on the top-right corner of the screen. Can this useful feature be launched using Jetpack Compose? Nothing happens when the code below is used.
https://i.stack.imgur.com/NEPFv.png▾
@Composable
fun IconMoreVert() {
var showMenu by remember { mutableStateOf(false) }
IconButton(onClick = { showMenu = !showMenu }) {
Icon(...