public IntentBuilder addStream(Uri streamUri){
  Uri currentStream=mIntent.getParcelableExtra(Intent.EXTRA_STREAM);
  if (currentStream == null) {
    return setStream(streamUri);
  }
  if (mStreams == null) {
    mStreams=new ArrayList<Uri>();
  }
  if (currentStream != null) {
    mIntent.removeExtra(Intent.EXTRA_STREAM);
    mStreams.add(currentStream);
  }
  mStreams.add(streamUri);
  return this;
}

public IntentBuilder addStream ( Uri streamUri ) { Uri currentStream = mIntent . getParcelableExtra ( Intent . EXTRA_STREAM ) ; if ( currentStream == null ) { return setStream ( streamUri ) ; } if ( mStreams == null ) { mStreams = new ArrayList < Uri > ( ) ; } if ( currentStream != null ) { mIntent . removeExtra ( Intent . EXTRA_STREAM ) ; mStreams . add ( currentStream ) ; } mStreams . add ( streamUri ) ; return this ; }
add a stream uri to the data that should be shared . if this is not the first stream uri added the final intent constructed will become an action_send_multiple intent . not all apps will handle both action_send and action_send_multiple .
