PhotoViewAttacher for this view.ChatLayout 提供了消息的展示与发送等功能,界面布局从上到下分为四个部分: TitleBarLayout,
提醒区 NoticeLayout,
消息区 MessageLayout,
输入区 InputLayout,
每个区域提供了多样的方法以供定制使用。ConversationLayout 由标题区 TitleBarLayout 与列表区 ConversationListLayout
InputLayout 实现了一般消息的输入,包括文本、表情、图片、音频、视频、文件等,MessageLayoutUI.setOnCustomMessageDrawListener(com.tencent.qcloud.tim.uikit.modules.chat.layout.message.holder.IOnCustomMessageDrawListener) 可以完成自定义消息的发送与展示。MessageLayout 继承自 RecyclerView,提供了消息的展示功能。NoticeLayout 位置固定,只能显示或隐藏,位置不会随聊天内容的滚动而变化,可以用来展示ConversationLayout、聊天窗口 ChatLayout 等都自带标题栏,PhotoView which does the work allowing for zooming, scaling, panning, etc.ImageEngine implementation using Picasso.MessageListAdapterIndexBar.setSourceDatas(List)之前调用MessageLayout.OnItemClickListener