hi all. I'm trying to implement a box that shows i...
# compose-android
a
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
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)
}
a
I figured it out in the meantime. Thanks anyways!