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); }
@Override public void onCopyCommentText(Comment comment) { ClipboardUtils.copyText(comment.getClipboardLabel(), comment.getClipboardText(this), this); }