# android-chat **Repository Path**: hanlen/android-chat ## Basic Information - **Project Name**: android-chat - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-25 - **Last Updated**: 2026-02-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 梦蝶IM解决方案 梦蝶App是台州引光基于野火开源二次开发。 功能导航 NormalMessageContentViewHolder 普通消息 contextMenuIcon 长按消息弹窗icon removeMessage(View itemView, UiMessage message) 會話長按刪除 conversation_item_file_*.xml 文件发送或接收(含音乐) 选择一个聊天 PickOrCreateConversationFragment 下载打开音频 FileUtils.openFile 下载视频 private void previewVideo(View view, MediaEntry entry) { 发送业务通知 ChatManagerExt.getInstance().sendBusinessNotification(userId, Constants.BUSINESS_DEL_FRIEND, messageViewModel); 接收业务通知 processBusinessNotification 发送消息 ChatManagerExt.getInstance().getPrivateChatLimit(userId, conversation.target, new StringListCallback() { 接收结果 if (!(message.content instanceof TypingMessageContent) && !(message.content instanceof TipNotificationContent)) { 聊天对话消息长按弹窗 items.add(new Pair<>(viewHolder.contextMenuIcon(fragment.getContext(), itemWrapper.contextMenuItem.tag()), viewHolder.contextMenuTitle(fragment.getContext(), itemWrapper.contextMenuItem.tag()))); 语音转文字 speechToText(View itemView, UiMessage message) 文件下载进度 Consumer onProcessConsumer = new Consumer() { public static void download(final String url, final String saveDir, String name, final OnDownloadListener listener) { 客厅名字箭头 fragment_container_activity 客厅弹窗 CustomPartShadowPopupView 输入框扩展 ConversationExtManager 地图定位样式 location_activity_my_location 定位 MyLocationActivity ShowLocationActivity 引用消息 quoteMessage(Message message) txtContent.extra = ExtraUtil.setExtraStringValue(txtContent.extra, Constants.QUOTE_IMG, imgContent.remoteUrl); // 消息列表 final String imgUrl = ExtraUtil.getExtraStringValue(textMessageContent.extra, Constants.QUOTE_IMG); // 预览 public void onRefClick(View view) // 草稿箱 private void setDraft() { 会话滚动加载更多消息 swipeRefreshLayout.setOnRefreshListener(this::loadMoreOldMessages); 预览图片 previewMM previewMessages