private void AppendImages() { if (m_images.Count > 1) { ShareIntent.SetAction(AN_Intent.ACTION_SEND_MULTIPLE); ShareIntent.PutExtra(AN_Intent.EXTRA_STREAM, m_images.ToArray()); } else { ShareIntent.SetAction(AN_Intent.ACTION_SEND); ShareIntent.PutExtra(AN_Intent.EXTRA_STREAM, m_images[0]); } ShareIntent.AddFlags(AN_Intent.FLAG_GRANT_READ_URI_PERMISSION); ShareIntent.SetType(AN_MIMEDataType.Image); }
//-------------------------------------- // Private Methods //-------------------------------------- private void AppendText() { ShareIntent.SetAction(AN_Intent.ACTION_SEND); ShareIntent.PutExtra(AN_Intent.EXTRA_TEXT, m_text); ShareIntent.SetType(AN_MIMEDataType.Text); }