Releases: sendbird/sendbird-uikit-android
Releases · sendbird/sendbird-uikit-android
v3.16.0
v3.16.0 (Apr 25, 2024) with Chat SDK v4.16.2
Support a way to customise the menu items in the ChannelSettingsMenuComponent
and OpenChannelSettingsMenuComponent
.
- Added
createMenuView(Context, String, String, SingleMenuType, int, int)
inChannelSettingsMenuComponent
- Added
setMenuList(List<Menu>, MenuViewProvider) in
ChannelSettingsMenuComponent.Params` - Added
MenuViewProvider
to ChannelSettings that allows you to create and make custom menus.
- Simple example for creating custom menu.
ModuleProviders.channelSettings = ChannelSettingsModuleProvider { context, _ ->
ChannelSettingsModule(context).apply {
val customMenuList = ChannelSettingsMenuComponent.defaultMenuSet.toMutableList().apply {
add(ChannelSettingsMenuComponent.Menu.CUSTOM)
}
val component = ChannelSettingsMenuComponent().apply {
// set the custom menu list.
params.setMenuList(customMenuList) { context, _ -> // create custom menu view.
createMenuView(
context,
"Go to Chat",
null,
SingleMenuType.NONE,
R.drawable.icon_chat,
0
)
}
}
setChannelSettingsMenuComponent(component)
}
}
- Added
getActionContextMenuTitle(Member, GroupChannel)
,makeActionContextMenu(Member, GroupChannel)
, andonActionContextMenuItemClicked(Member, DialogListItem, GroupChannel)
inMemberListFragment
- Added
getActionContextMenuTitle(User, OpenChannel)
,makeActionContextMenu(User, OpenChannel)
, andonActionContextMenuItemClicked(User, DialogListItem, OpenChannel)
inMemberListFragment
- Added
Message template
feature forGroupChannel
.
v3.15.0
v3.15.0 (Mar 28, 2024) with Chat SDK v4.16.0
- Added
sendLogViewed(List<BaseMessage>)
inFeedNotificationChannelViewModel
. - Deprecated
sendLogImpression(List<BaseMessage>)
inFeedNotificationChannelViewModel
. - Supported reactions in super group channel.
AddedenableReactionsSupergroup
inChannelConfig
.
v3.14.1
v3.14.1 (Mar 20, 2024) with Chat SDK v4.15.6
- Fixed issue where the position of the empty icon was displayed incorrectly.
v3.14.0
v3.14.0 (Mar 19, 2024) with Chat SDK v4.15.6
- A feedback feature has been added to give opinions on the message.
- Added
setEmptyIcon(int)
,setEmptyIcon(int, ColorStateList)
,setEmptyText(int)
, andsetErrorText(int)
inChatNotificationChannelFragment
. - Added
setEmptyIcon(int)
,setEmptyIcon(int, ColorStateList)
,setEmptyText(int)
, andsetErrorText(int)
inFeedNotificationChannelFragment
.
- Added
- Simple example for creating
FeedNotificationChannelFragment
with empty icon and text.
val feedChannelFragment = FeedNotificationChannelFragment.Builder(channelUrl)
.withArguments(args)
.setEmptyIcon(R.drawable.icon_empty)
.setEmptyText(R.string.text_empty_notification)
.build()
v3.13.0
v3.13.0 (Feb 1, 2024) with Chat SDK v4.14.2
- A feedback feature has been added to give opinions on the message.
- Added
enableFeedback
inChannelConfig
. - Added
OnFeedbackRatingClickListener
which is a callback to be invoked when a feedback rating is clicked. - Added
getFeedbackRatingClickListener()
andsetFeedbackRatingClickListener(OnFeedbackRatingClickListener)
inBaseMessageListAdapter
. - Added
setOnFeedbackRatingClickListener(OnFeedbackRatingClickListener)
andonFeedbackRatingClicked(BaseMessage, FeedbackRating)
inBaseMessageListComponent
. - Added
onFeedbackRatingClicked(BaseMessage, FeedbackRating)
inChannelFragment
. - Added
submitFeedback(BaseMessage, FeedbackRating, String)
andremoveFeedback(BaseMessage)
inChannelViewModel
. - Added
onFeedbackSubmitted()
,onFeedbackUpdated()
andonFeedbackDelete
inChannelViewModel
. They allow you to observe feedback events for submitting, updating and deleting feedback.
- Added
v3.12.1
v3.12.1 (Jan 18, 2024) with Chat SDK v4.14.1
- Fix memory leaks in UIKit.
v3.12.0
v3.12.0 (Jan, 2024) with Chat SDK v4.13.0
- Added
sendLogImpression(List<BaseMessage>)
inFeedNotificationChannelViewModel
. - Improved performance of scrolling in Message List.
MyMessageViewHolder and OtherMessageViewHolder:
- Added
MyMessageViewHolder
andOtherMessageViewHolder
to provide a basic UI frame for single message. - These ViewHolders include UI elements such as 'message sent time,' 'nickname,' 'profile,' and 'sending status,' excluding the content area.
- Customers can now customize only the content area. Note: This feature is currently experimental.
BaseMessageListViewModel.buildMessageList():
- Added
BaseMessageListViewModel.buildMessageList()
to allow customers to customize the message list before delivering it to the view.
class CustomChannelViewModel(
channelUrl: String
) : ChannelViewModel(channelUrl, null) {
override fun buildMessageList(): List<BaseMessage> {
return super.buildMessageList().map { message ->
// Customize the message here
message
}
}
}
v3.11.0
v3.11.0 (Nov 29, 2023) with Chat SDK v4.13.0
VIEW_TYPE_TYPING_INDICATOR
is a new typing indicator UI that can be turned on throughtypingIndicatorTypes
option. When turned on, it will be displayed inChannelFragment
upon receiving typing event in real time.- Added
typingIndicatorTypes
inChannelConfig
.
- Added
v3.10.1
v3.10.1 (Nov 9, 2023) with Chat SDK v4.13.0
- Added
uikit-samples
project to demonstrate the usage ofUIKit
. - Added
resetToDefault()
inFragmentProviders
,ModuleProviders
,AdapterProviders
andViewModelProviders
to reset the providers to default.
v3.10.0
v3.10.0 (Nov 3, 2023) with Chat SDK v4.13.0
- Added the
Suggested Replies
feature to enable quick and effective question asking to the bot.- Added
ChannelConfig.enableSuggestedReplies
configuration to enable/disableSuggested Replies
feature.
- Added
- Added the
Form type message
feature to enable the user to submit a form type message received by the bot.- Added
ChannelConfig.enableFormTypeMessage
configuration to enable/disableForm type message
feature.
- Added