Esempio n. 1
0
  private void copyText() {

    Broadcast broadcast = mBroadcastAdapter.getBroadcast();
    if (broadcast == null) {
      ToastUtils.show(R.string.broadcast_copy_text_not_loaded, this);
      return;
    }

    ClipboardUtils.copyText(broadcast.getClipboradLabel(), broadcast.getClipboardText(this), this);
  }
Esempio n. 2
0
 @Override
 public void onCopyCommentText(Comment comment) {
   ClipboardUtils.copyText(comment.getClipboardLabel(), comment.getClipboardText(this), this);
 }