https://kotlinlang.org logo
#android
Title
# android
a

Aditya

08/17/2020, 11:12 PM
When launching a share intent, is it possible to know when it is complete? I want to move on after the user has seen the share dialog, but not until it has been dismissed
a

Adam Powell

08/18/2020, 12:06 AM
yes, add a PendingIntent with this bundle key to the extras bundle of the intent you create with Intent.createChooser: https://developer.android.com/reference/android/content/Intent?hl=en#EXTRA_CHOSEN_COMPONENT_INTENT_SENDER
🙏 1
a

Aditya

08/18/2020, 12:40 AM
Amazing, thank you!!
3 Views