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.
danghiskhan/FilteredShareActionProvider
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Example of how to filter out specific packages from a ShareActionProvider suggestions list
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published