General IM UI components. Android/iOS/RectNative ready. 通用 IM 聊天 UI 组件,已经同时支持 Android/iOS/RN。
Android 增加下拉刷新,可以自定义下拉刷新样式。详情参考 MessageList
文档。
Android's MessageList
add pull-to-refresh feature, user can customize pull to refresh style. Please refer to MessageList
docs for more detail.
onSwitchToEmojiMode
.IMUI.MessageList
image display mode.IMUI.ChatInput
gallery image display mode.IMUI.ChatInput
gallery performance.Add jitpack:
your project/build.gradle
repositories {
maven { url "https://jitpack.io" }
}
ViewHolderController.getInstance().replayVoice()
replay the last played voice message.forbidPullToRefresh
forbid pull to refresh. Usage:
messageList.forbidScrollToRefresh(true);
removeMessage
API:
IMUIMessageCollectionView.removeMessage
func messageCollectionView(beganLongTapMessageBubbleInCell: UICollectionViewCell, model: IMUIMessageProtocol)
proximityState == true
audio will play with AVAudioSessionCategoryPlayAndRecord
mode。photoLibraryDidChange
.#110
publish [email protected], unified iOS and Android MessageList props.
isShowIncomingDisplayName: PropTypes.bool,
isShowOutgoingDisplayName: PropTypes.bool,
isAllowPullToRefresh: PropTypes.bool,
#119
imui demo 更新了语音播放功能。播放语音时,可以切换外放,耳机或听筒模式。