Esempio n. 1
0
		/// <summary>Sets a listener to be notified when a share target has been selected.</summary>
		/// <remarks>
		/// Sets a listener to be notified when a share target has been selected.
		/// The listener can optionally decide to handle the selection and
		/// not rely on the default behavior which is to launch the activity.
		/// <p>
		/// <strong>Note:</strong> If you choose the backing share history file
		/// you will still be notified in this callback.
		/// </p>
		/// </remarks>
		/// <param name="listener">The listener.</param>
		public virtual void setOnShareTargetSelectedListener(android.widget.ShareActionProvider
			.OnShareTargetSelectedListener listener)
		{
			mOnShareTargetSelectedListener = listener;
			setActivityChooserPolicyIfNeeded();
		}
Esempio n. 2
0
 /// <summary>Sets a listener to be notified when a share target has been selected.</summary>
 /// <remarks>
 /// Sets a listener to be notified when a share target has been selected.
 /// The listener can optionally decide to handle the selection and
 /// not rely on the default behavior which is to launch the activity.
 /// <p>
 /// <strong>Note:</strong> If you choose the backing share history file
 /// you will still be notified in this callback.
 /// </p>
 /// </remarks>
 /// <param name="listener">The listener.</param>
 public virtual void setOnShareTargetSelectedListener(android.widget.ShareActionProvider
                                                      .OnShareTargetSelectedListener listener)
 {
     mOnShareTargetSelectedListener = listener;
     setActivityChooserPolicyIfNeeded();
 }