how to show Image Preview In ShareSheet in android while sharing both image and text In intent
currently in preview its showing text,but i want image to be shown in preview instead of text
val bitmapUri = Uri.parse(path)
val intent = Intent(Intent.ACTION_SEND_MULTIPLE)
val share = Intent.createChooser(Intent().apply {
intent.type = "image/*"
action = Intent.ACTION_SEND_MULTIPLE
putExtra(
Intent.EXTRA_TEXT,
"NcQAvD_BwE"
)
// to share image URL
putExtra(Intent.EXTRA_STREAM, bitmapUri)
}, null)...