/FilteredShareActionProvider

Example of how to filter out specific packages from a ShareActionProvider suggestions list

Primary LanguageJava

Example of how to modify the Android ShareActionProvider implementation to filter out unwanted applications from the suggestions list. The only change is in FilteredActivityChooserModel.loadActivitiesIfNeeded(). Copy these three classes into your project and reference the ActionProvider as normal e.g. com.example.FilteredShareActionProvider.