Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas
Created February 29, 2024 18:31
Show Gist options
  • Save PatilShreyas/9472956bcb8fb737e96d3fe42755150b to your computer and use it in GitHub Desktop.
Save PatilShreyas/9472956bcb8fb737e96d3fe42755150b to your computer and use it in GitHub Desktop.
- BasicTextField(
+ BasicTextField2(
value = value,
onValueChange = { value = it },
modifier = Modifier
.fillMaxWidth()
+ .receiveContent(setOf(MediaType.Image)) { content ->
+ val selectedMediaUri = content.platformTransferableContent?.linkUri
+ null
+ }
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment