public static interface ActivityChooserModel.OnChooseActivityListener
Modifier and Type | Method and Description |
---|---|
boolean |
onChooseActivity(ActivityChooserModel host,
Intent intent)
Called when an activity has been chosen.
|
boolean onChooseActivity(ActivityChooserModel host, Intent intent)
ActivityChooserModel.chooseActivity(int)
will receive and Intent
for launching it.
Note: Modifying the intent is not permitted and any changes to the latter will be ignored.
host
- The listener's host model.intent
- The intent for launching the chosen activity.ActivityChooserModel.chooseActivity(int)