问题描述
解决方案
复制之类的代码环信demo都写好了case RESULT_CODE_COPY: // 复制消息 EMMessage copyMsg = ((EMMessage) adapter.getItem(data.getIntExtra("position", -1))); // clipboard.setText(SmileUtils.getSmiledText(ChatActivity.this, // ((TextMessageBody) copyMsg.getBody()).getMessage())); clipboard.setText(((TextMessageBody) copyMsg.getBody()).getMessage()); break;
时间: 2025-01-19 18:26:46