Class of android.widget · ShareActionProvider.java · Android's reference
public class ShareActionProvider extends android.view.ActionProvider
ShareActionProvider ← ActionProvider
The share action of a menu, which lists the apps that take a share intent. No other apps are installed beside the app here, so the list has no targets: the action view is empty and has no submenu.
public static final String DEFAULT_SHARE_HISTORY_FILE_NAME = "share_history.xml" sourcepublic View onCreateActionView() sourcepublic boolean hasSubMenu() sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.