Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Sagar N sagarrock101

🎯
Focusing
View GitHub Profile
@MachFour
MachFour / ActionMenu.kt
Last active Apr 1, 2022
Jetpack compose ActionMenu
View ActionMenu.kt
import androidx.annotation.StringRes
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.*
import androidx.compose.runtime.*
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
// Essentially a wrapper around a lambda function to give it a name and icon