Java android.widget ShareActionProvider fields, constructors, methods, implement or subclass

Example usage for Java android.widget ShareActionProvider fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.widget ShareActionProvider.

The text is from its open source code.

Field

StringDEFAULT_SHARE_HISTORY_FILE_NAME
The default name for storing share history.

Constructor

ShareActionProvider(Context context)
Creates a new instance.

Method

voidsetOnShareTargetSelectedListener(OnShareTargetSelectedListener listener)
Sets a listener to be notified when a share target has been selected.
voidsetShareHistoryFileName(String shareHistoryFile)
Sets the file name of a file for persisting the share history which history will be used for ordering share targets.
voidsetShareIntent(Intent shareIntent)
Sets an intent with information about the share action.