code: public void onShareButtonClicked() {
      List<Trace> tracesToShare = new LinkedList<Trace>(traceBuffer.getTraces());
      String plainTraces = generatePlainTracesToShare(tracesToShare);
      if (!view.shareTraces(plainTraces)) {
        view.notifyShareTracesFailed();
      }
    }
docs: Generates a plain representation of all the Trace objects this presenter has stored and share
  them to other applications.