public static interface ActivityChooserModel.ActivitySorter
Modifier and Type | Method and Description |
---|---|
void |
sort(Intent intent,
List<ActivityChooserModel.ActivityResolveInfo> activities,
List<ActivityChooserModel.HistoricalRecord> historicalRecords)
Sorts the
activities in descending order of relevance
based on previous history and an intent. |
void sort(Intent intent, List<ActivityChooserModel.ActivityResolveInfo> activities, List<ActivityChooserModel.HistoricalRecord> historicalRecords)
activities
in descending order of relevance
based on previous history and an intent.intent
- The Intent
.activities
- Activities to be sorted.historicalRecords
- Historical records.