hi all. I'm trying to implement a box that shows icon Add so that when user clicks on it, it will open file explorer on the device to select an image for upload; do any of you know of any docs that can help me implement it? or some examples (licensable under apache 2.0)?
solved 1
z
Zach Klippenstein (he/him) [MOD]
06/01/2024, 5:37 PM
Copy code
IconButton(onClick = {
// Call your ViewModel or presenter
// to make the Android calls to
// show the image chooser - sending
// an intent or whatever.
}) {
Icon(MaterialIcons.Default.Add)
}