Exemplo n.º 1
0
 /// <summary>
 /// Set the activity chooser policy of the model backed by the current
 /// share history file if needed which is if there is a registered callback.
 /// </summary>
 /// <remarks>
 /// Set the activity chooser policy of the model backed by the current
 /// share history file if needed which is if there is a registered callback.
 /// </remarks>
 private void setActivityChooserPolicyIfNeeded()
 {
     if (mOnShareTargetSelectedListener == null)
     {
         return;
     }
     if (mOnChooseActivityListener == null)
     {
         mOnChooseActivityListener = new android.widget.ShareActionProvider.ShareAcitivityChooserModelPolicy
                                         (this);
     }
     android.widget.ActivityChooserModel dataModel = android.widget.ActivityChooserModel
                                                     .get(mContext, mShareHistoryFileName);
     dataModel.setOnChooseActivityListener(mOnChooseActivityListener);
 }
Exemplo n.º 2
0
		/// <summary>
		/// Set the activity chooser policy of the model backed by the current
		/// share history file if needed which is if there is a registered callback.
		/// </summary>
		/// <remarks>
		/// Set the activity chooser policy of the model backed by the current
		/// share history file if needed which is if there is a registered callback.
		/// </remarks>
		private void setActivityChooserPolicyIfNeeded()
		{
			if (mOnShareTargetSelectedListener == null)
			{
				return;
			}
			if (mOnChooseActivityListener == null)
			{
				mOnChooseActivityListener = new android.widget.ShareActionProvider.ShareAcitivityChooserModelPolicy
					(this);
			}
			android.widget.ActivityChooserModel dataModel = android.widget.ActivityChooserModel
				.get(mContext, mShareHistoryFileName);
			dataModel.setOnChooseActivityListener(mOnChooseActivityListener);
		}
Exemplo n.º 3
0
 public virtual void setOnChooseActivityListener(android.widget.ActivityChooserModel
                                                 .OnChooseActivityListener listener)
 {
     throw new System.NotImplementedException();
 }