Which method shows the "Share via" chooser dialog?
- Intent.createChooser(intent, "Share via")
- showShareSheet()
- startChooserActivity()
- Intent.share()
Answer
A) Intent.createChooser(intent, "Share via")
createChooser wraps an intent so the user always picks an app.
Computer Science MCQ · More Intents and Notifications MCQs · Practise