Most visited

Recently visited

Added in API level 14

ShareActionProvider.OnShareTargetSelectedListener

public static interface ShareActionProvider.OnShareTargetSelectedListener

android.widget.ShareActionProvider.OnShareTargetSelectedListener


听众选择股票目标的事件。

Summary

Public methods

abstract boolean onShareTargetSelected(ShareActionProvider source, Intent intent)

当选择股票目标时调用。

Public methods

onShareTargetSelected

Added in API level 14
boolean onShareTargetSelected (ShareActionProvider source, 
                Intent intent)

当选择股票目标时调用。 客户可以决定是否在共享实际执行之前执行某些操作。

注意:不允许修改意图,对后者的任何更改都将被忽略。

注意:应该在这里处理这个意图。 此回调旨在通知客户端正在执行共享,因此客户端可以根据需要更新UI。

Parameters
source ShareActionProvider: The source of the notification.
intent Intent: The intent for launching the chosen share target.
Returns
boolean The return result is ignored. Always return false for consistency.

Hooray!