-
- minSDKVersion is increased from 16 to 21.
- Sendbird Chat SDK for Android 4.0.0 and later
- changed
databinding
of buildFeatures to useviewbinding
.
-
-
Rename the main class from
SendBirdUIKit
toSendbirdUIKit
. -
Rename the class from
SendBirdUIKitAdapter
toSendbirdUIKitAdapter
. -
All
useHeader
property's default value inBuilder
class has been changed fromfalse
totrue
. -
All fragments inherites
BaseModuleFragment
and it has abstract methods related to the module. So below functions are added all fragments.For more information on this changes of
BaseModuleFragment
, refer to this.onCreateModule(Bundle)
onConfigureParams(BaseModule, Bundle)
onCreateViewModel()
onBeforeReady(ReadyStatus, BaseModule, BaseViewModel)
onReady(ReadyStatus, BaseModule, BaseViewModel)
-
Added
Modules
andComponents
classes. Each fragment has it's corresponding module and components.fragment module component viewmodel style name recyclerview adapter ChannelListFragment ChannelListModule HeaderComponent
ChannelListComponent
StatusComponentChannelListViewModel Module.ChannelList
ChanelListAdapter ChannelFragment ChannelModule ChannelHeaderComponent
MessageListComponent
MessageInputComponent
StatusComponentChannelViewModel Module.Channel
MessageListAdapter OpenChannelFragment OpenChannelModule OpenChannelHeaderComponent
OpenChannelMessageListComponent
OpenChannelMessageInputComponent
StatusComponentOpenChannelViewModel Module.OpenChannel
OpenChannelMessageListAdapter CreateChannelFragment CreateChannelModule SelectUserHeaderComponent
CreateChannelUserListComponent
StatusComponentCreateChannelViewModel Module.CreateChannel
CreateChannelUserListAdapter ChannelSettingsFragment ChannelSettingsModule ChannelSettingsHeaderComponent
ChannelSettingsInfoComponent
ChannelSettingsMenuComponentChannelSettingsViewModel Module.ChannelSettings
OpenChannelSettingsFragment OpenChannelSettingsModule OpenChannelSettingsHeaderComponent
OpenChannelSettingsInfoComponent
OpenChannelSettingsMenuComponentOpenChannelSettingsViewModel Module.OpenChannelSettings
InviteUserFragment InviteUserModule SelectUserHeaderComponent
InviteUserListComponent
StatusComponentInviteUserViewModel Module.InviteUser
InviteUserListAdapter RegisterOperatorFragment RegisterOperatorModule SelectUserHeaderComponent
RegisterOperatorListComponent
StatusComponentRegisterOperatorViewModel Module.RegisterOperator
RegisterOperatorListAdapter ModerationFragment ModerationModule HeaderComponent
ModerationListComponentModerationViewModel Module.Moderation
MemberListFragment MemberListModule HeaderComponent
MemberListComponent
StatusComponentMemberListViewModel Module.MemberList
MemberListAdapter BannedUserListFragment BannedUserListModule HeaderComponent
BannedUserListComponent
StatusComponentBannedUserListViewModel Module.BannedUserList
BannedUserListAdater MutedMemberListFragment MutedMemberListModule HeaderComponent
MutedMemberListComponent
StatusComponentMutedMemberListViewModel Module.MutedMemberList
MutedMemberListAdapter OperatorListFragment OperatorListModule HeaderComponent
OperatorListComponent
StatusComponentOperatorListViewModel Module.OperatorList
OperatorListAdapter MessageSearchFragment MessageSearchModule MessageSearchHeaderComponent
MessageSearchListComponent
StatusComponentMessageSearchViewModel Module.MessageSearch
MessageSearchAdapter ParticipantListFragment ParticipantListModule HeaderComponent
ParticipantListComponent
StatusComponentParticipantViewModel Module.ParticipantList
ParticipantListAdapter -
Deleted below functions in all fragments.
onConfigure()
onDrawPage()
onReadyFailure()
-
Deleted deprecated functions in
MessageListAdapter
.- MessageListAdapter(GroupChannel, OnItemClickListener)
- MessageListAdapter(GroupChannel, OnItemClickListener, OnItemLongClickListener)
- MessageListAdapter(GroupChannel, OnItemClickListener, OnItemLongClickListener, boolean)
- setItems(GroupChannel, List)
- setOnItemClickListener(OnItemClickListener)
- setOnItemLongClickListener(OnItemLongClickListener)
- setOnProfileClickListener(OnItemClickListener)
-
Deleted deprecated functions in
OpenChannelMessageListAdapter
.- OpenChannelMessageListAdapter(OpenChannel, OnItemClickListener)
- OpenChannelMessageListAdapter(OpenChannel, OnItemClickListener, OnItemLongClickListener)
- OpenChannelMessageListAdapter(OpenChannel, OnItemClickListener, OnItemLongClickListener, boolean)
- setItems(OpenChannel, List)
- setOnItemClickListener(OnItemClickListener)
- setOnItemLongClickListener(OnItemLongClickListener)
- setOnProfileClickListener(OnItemClickListener)
-
Deleted
CustomMemberListQueryHandler
class. -
Replaced interface of
CreateableChannelType
toCreatableChannelType
.
-
- Replaced
updateUserInfo(String, String, UserInfoUpdateHandler)
toupdateUserInfo(UserUpdateParams, CompletionHandler)
. - Replaced
connect(SendBird.ConnectHandler)
toconnect(ConnectHandler)
. - Replaced
disconnect(SendBird.DisconnectHandler)
todisconnect(DisconnectHandler)
.
- Replaced
onBeforeCreateGroupChannel(GroupChannelParams)
toonBeforeCreateGroupChannel(GroupChannelCreateParams)
. - Replaced
onBeforeSendUserMessage(UserMessageParams)
toonBeforeSendUserMessage(UserMessageCreateParams)
. - Replaced
onBeforeUpdateGroupChannel(GroupChannelParams)
toonBeforeUpdateGroupChannel(GroupChannelUpdateParams)
. - Replaced
onBeforeUpdateUserMessage(UserMessageParams)
toonBeforeUpdateUserMessage(UserMessageUpdateParams)
. - Replaced
onBeforeSendFileMessage(FileMessageParams)
toonBeforeSendFileMessage(FileMessageCreateParams).
- Replaced
onBeforeCreateOpenChannel(OpenChannelParams)
toonBeforeCreateOpenChannel(OpenChannelCreateParams)
- Repleace
onComplete(SendBirdException)
toonComplete(SendbirdException)
.
- Replaced
onResult(List<T>, SendBirdException)
toonComplete(List<T>, SendbirdException)
.
- Replaced
onError(SendBirdException)
toonError(SendbirdException)
.
-
- Replaced
ChannelListFragment createChannelListFragment()
toFragment createFragment()
.
- Replaced
-
- Deleted
setErrorFrame()
- Added
onBindHeaderComponent(HeaderComponent, ChannelListViewModel)
- Added
onBindChannelListComponent(ChannelListComponent, ChannelListViewModel)
- Added
onBindStatusComponent(StatusComponent, ChannelListViewModel)
- Deleted
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftbuttonClickListener(OnClickListener
- Replaced
setHeaderRightButtonListener(OnClickListener)
tosetOnRightbuttonClickListener(OnClickListener)
- Replaced
setItemClickListener(OnItemClickListener)
tosetOnItemClickListener(OnItemClickListener)
- Replaced
setItemLongClickListener(OnItemClickListener)
tosetOnItemLongClickListener(OnItemClickListener)
- Deleted
setCustomChannelListFragment(ChannelListFragment)
- Deleted
setIncludeEmpty(boolean)
- Deleted
setCustomChannelListFragment(ChannelListFragment)
- Added
withArguments(Bundle)
- Replaced
-
- Replaced
ChannelFragment createChannelFragment(String)
toFragment createFragment()
.
- Replaced
-
- Moved
getTooltipMessage(int)
intoMessageListComponent
- Replaced
onIdentifiableItemClick(View, String, int, BaseMessage)
to useonMessageClicked(View, int, BaseMessage)
,onMessageProfileClicked(View, int, BaseMessage)
, andonQuoteReplyMessageClicked(View, int, BaseMessage)
. - Replaced
onIdentifiableItemLongClick(View, String, int, BaseMessage)
to useonMessageLongClicked(View, int, BaseMessage)
,onMessageProfileLongClicked(View, int, BaseMessage)
, andonQuoteReplyMessageLongClicked(View, int, BaseMessage)
. - Replaced
sendUserMessage(UserMessageParams)
to usesendUserMessage(UserMessageCreateParams)
. - Replaced
updateUserMessage(long, UserMessageParams)
to useupdateUserMessage(long, UserMessageUpdateParams)
. - Replaced
onBeforeSendUserMessage(UserMessageParams)
to useonBeforeSendUserMessage(UserMessageCreateParams)
. - Replaced
onBeforeUpdateUserMessage(UserMessageParams)
to useonBeforeUpdateUserMessage(UserMessageUpdateParams)
. - Replaced
onBeforeSendFileMessage(FileMessageParams)
to useonBeforeSendFileMessage(FileMessageCreateParams)
. - Added
onBindChannelHeaderComponent(ChannelHeaderComponent, ChannelViewMode, GroupChannel)
- Added
onBindMessageListComponent(MessageListComponent, ChannelViewModel, GroupChannel)
- Added
onBindMessageInputComponent(MessageInputComponent, ChannelViewModel, GroupChannel)
- Added
onBindStatusComponent(StatusComponent, ChannelViewModel, GroupChannel)
- Moved
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftbuttonClickListener(OnClickListener
- Replaced
setHeaderRightButtonListener(OnClickListener)
tosetOnRightbuttonClickListener(OnClickListener)
- Replaced
setInputLeftButtonListener(OnClickListener)
tosetOnInputLeftbuttonClickListener(OnClickListener)
- Replaced
setOnProfileClickListener(OnItemClickListener<>)
tosetOnMessageProfileClickListener(OnItemClickListener<>)
- Deleted
setCustomChannelFragment(ChannelFragment)
- Deleted
setItemClickListener(OnItemClickListener)
- Deleted
setItemLongClickListener(OnItemClickListener)
- Deleted
setListItemClickListener(OnIdentificableItemClickListener<>)
- Deleted
setListItemLongClickListener(OnIdentificableItemClickListener<>)
- Deleted
setLastSeenAt(boolean)
- Deleted
setCustomChannelFragment(ChannelFragment)
- Added
withArguments(Bundle)
- Added
setOnMessageClickListener(OnItemClickListener)
- Added
setOnMessageLongClickListener(OnItemLongClickListener)
- Added
setOnQuoteReplyMessageClickListener(OnItemClickListener)
- Added
setOnQuoteReplyMessageLongClickListener(OnItemLongClickListener)
- Replaced
-
- Replaced
onIdentifiableItemClick(View, String, int, BaseMessage)
to useonMessageClicked(View, int, BaseMessage)
andonMessageProfileClicked(View, int, BaseMessage)
. - Replaced
onIdentifiableItemLongClick(View, String, int, BaseMessage)
to useonMessageLongClicked(View, int, BaseMessage)
andonMessageProfileLongClicked(View, int, BaseMessage)
. - Replaced
sendUserMessage(UserMessageParams)
to usesendUserMessage(UserMessageCreateParams)
. - Replaced
updateUserMessage(long, UserMessageParams)
to useupdateUserMessage(long, UserMessageUpdateParams)
. - Replaced
onBeforeSendUserMessage(UserMessageParams)
to useonBeforeSendUserMessage(UserMessageCreateParams)
. - Replaced
onBeforeUpdateUserMessage(UserMessageParams)
to useonBeforeUpdateUserMessage(UserMessageUpdateParams)
. - Replaced
onBeforeSendFileMessage(FileMessageParams)
to useonBeforeSendFileMessage(FileMessageCreateParams)
. - Added
onBindChannelHeaderComponent(OpenChannelChannelHeaderComponent, OpenChannelViewModel, OpenChannel)
- Added
onBindMessageListComponent(OpenChannelMessageListComponent, OpenChannelViewModel, OpenChannel)
- Added
onBindMessageInputComponent(OpenChannelMessageInputComponent, OpenChannelViewModel, OpenChannel)
- Added
onBindStatusComponent(StatusComponent, OpenChannelViewModel, OpenChannel)
- Replaced
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftbuttonClickListener(OnClickListener
- Replaced
setHeaderRightButtonListener(OnClickListener)
tosetOnRightbuttonClickListener(OnClickListener)
- Replaced
setInputLeftButtonListener(OnClickListener)
tosetOnInputLeftbuttonClickListener(OnClickListener)
- Replaced
setOnProfileClickListener(OnItemClickListener<>)
tosetOnMessageProfileClickListener(OnItemClickListener<>)
- Deleted
setCustomOpenChannelFragment(OpenChannelFragment)
- Deleted
setItemClickListener(OnItemClickListener)
- Deleted
setItemLongClickListener(OnItemClickListener)
- Deleted
setListItemClickListener(OnIdentificableItemClickListener<>)
- Deleted
setListItemLongClickListener(OnIdentificableItemClickListener<>)
- Added
withArguments(Bundle)
- Added
setOnProfileLongClickListener(OnItemClickListener<>)
tosetOnMessageProfileClickListener(OnItemClickListener<>)
- Added
setOnMessageClickListener(OnItemClickListener)
- Added
setOnMessageLongClickListener(OnItemLongClickListener)
- Replaced
-
- Replaced
CreateChannelFragment createChannelFragment()
andCreateChannelFragment createChannelFragment(CreatableChannelType)
toFragment createFragment()
.
- Replaced
-
- Deleted
setErrorFrame()
. - Replaced
setRightButtonText(CharSequence)
andsetCreateButtonText(CharSequence)
to usesetRightButtonText(String)
inStateHeaderComponent.Params
. - Replaced
setRightButtonEnabled(boolean)
andsetCreateButtonEnabled(boolean)
to usesetUseRightButton(boolean)
inStateHeaderComponent.Params
. - Replaced
setUserListAdapter(UserListAdapter)
to usesetAdapter(UserInfoListAdapter)
inCreateChannelUserListComponent
. - Replaced
setHeaderLeftButtonListener(OnClickListener)
to usesetOnLeftButtonClickListener(OnClickListener)
inStateHeaderComponent
- Replaced
setCustomUserListQueryHandler(CustomUserListQueryHandler)
to usePagedQueryHandler<UserInfo> createQueryHandler()
inCreateChannelViewModel
. - Replaced
onBeforeCreateGroupChannel(GroupChannelParams)
toonBeforeCreateGroupChannel(GroupChannelCreateParams)
. - Replaced
createGroupChannel(GroupChannelParams)
tocreateGroupChannel(GroupChannelCreateParams)
. - Added
onBindHeaderComponent(SelectUserHeaderComponent, CreateChannelViewModel)
- Added
onBindUserListComponent(CreateChannelUserListComponent, CreateChannelViewModel)
- Added
onBindStatusComponent(StatusComponent, CreateChannelViewModel)
- Deleted
-
- Replaced
setCustomUserListQueryHandler(CustomUserListQueryHandler)
tosetCustomPagedQueryHandler(PagedQueryHandler<UserInfo>)
- Replaced
setUserListAdapter(UserListAdapter)
tosetCreateChannelUserListAdapter(CreateChannelUserListAdapter)
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftButtonClickListener(OnClickListener)
- Deleted
setCustomCreateChannelFragment(CreateChannelFragment)
- Added
withArguments(Bundle)
- Replaced
-
- Replaced
ChannelSettingsFragment createChannelSettingsFragment(String)
toFragment createFragment()
.
- Replaced
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
to usesetOnLeftButtonClickListener(OnClickListener)
inChannelSettingsHeaderComponent
. - Replaced
setOnMenuItemClickListener(OnMenuItemClickListener)
to usesetOnMenuClickListener(OnItemClickListener<Menu>)
inChannelSettingsMenuComponent
. - Replaced
onBeforeUpdateGroupChannel(GroupChannelParams)
toonBeforeUpdateGroupChannel(GroupChannelUpdateParams)
. - Replaced
updateGroupChannel(GroupChannelParams)
toupdateGroupChannel(GroupChannelUpdateParams)
. - Added
onBindHeaderComponent(ChannelSettingsHeaderComponent, ChannelSettingsViewModel, GroupChannel)
- Added
onBindSettingsInfoComponent(ChannelSettingsInfoComponent, ChannelSettingsViewModel, GroupChannel)
- Added
onBindSettingsMenuComponent(ChannelSettingsMenuComponent, ChannelSettingsViewModel, GroupChannel)
- Replaced
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftButtonClickListener(OnClickListener)
- Replaced
setOnSettingMenuClickListener(OnMenuItemClickListener)
tosetOnMenuClickListener(OnItemClickListener)
- Deleted
setMemberSettingClickListener(OnClickListener)
- Deleted
setCustomChannelSettingsFragment(ChannelSettingsFragment)
- Added
withArguments(Bundle)
- Replaced
-
- Replaced
OpenChannelSettingsFragment createOpenChannelSettingsFragment(String)
toFragment createFragment()
.
- Replaced
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
to usesetOnLeftButtonClickListener(OnClickListener)
inChannelSettingsHeaderComponent
. - Replaced
setOnMenuItemClickListener(OnMenuItemClickListener)
to usesetOnMenuClickListener(OnItemClickListener<Menu>)
inChannelSettingsMenuComponent
. - Replaced
onBeforeUpdateOpenChannel(OpenChannelParams)
toonBeforeUpdateOpenChannel(OpenChannelUpdateParams)
. - Replaced
updateOpenChannel(OpenChannelParams)
toupdateOpenChannel(OpenChannelUpdateParams)
. - Added
onBindHeaderComponent(OpenChannelSettingsHeaderComponent, OpenChannelSettingsViewModel, OpenChannel)
- Added
onBindSettingsInfoComponent(OpenChannelSettingsInfoComponent, OpenChannelSettingsViewModel, OpenChannel)
- Added
onBindSettingsMenuComponent(OpenChannelSettingsMenuComponent, OpenChannelSettingsViewModel, OpenChannel)
- Replaced
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftButtonClickListener(OnClickListener)
- Replaced
setOnSettingMenuClickListener(OnMenuItemClickListener)
tosetOnMenuClickListener(OnItemClickListener)
- Deleted
setCustomOpenChannelSettingsFragment(OpenChannelSettingsFragment)
- Deleted
setMemberSettingClickListener(OnClickListener)
- Added
withArguments(Bundle)
- Replaced
-
- Replaced
InviteChannelActivity
toInviteUserActivity
. - Replaced
InviteChannelFragment createInviteChannelFragment(String)
toFragment createFragment()
.
- Replaced
-
- Replaced
InviteChannelFragment
toInviteUserFragment
. - Deleted
setErrorFrame()
. - Replaced
onUserSelectComplete(List)
toonUserSelectionCompleted(List)
. - Replaced
setInviteButtonText(CharSequence)
,setInviteButtonEnabled(boolean)
,setRightButtonText(CharSequence)
, andsetRightButtonEnabled(boolean)
to usenotifySelectedUserChanged(int)
inSelectUserHeaderComponent
. - Replaced
setHeaderLeftButtonListener(OnClickListener)
to usesetOnLeftButtonClickListener(OnClickListener)
inSelectUserHeaderComponent
. - Replaced
setUserListAdapter(UserListAdapter)
to usesetAdapter(InviteUserListAdapter)
inInviteUserListComponent
. - Replaced
setCustomUserListQueryHandler(CustomUserListQueryHandler)
to usePagedQueryHandler<UserInfo> createQueryHandler(String)
inInviteUserViewModel
. - Added
onBindHeaderComponent(SelectUserHeaderComponent, InviteUserViewModel, GroupChannel)
- Added
onBindInviteUserListComponent(InviteUserListComponent, InviteUserViewModel, GroupChannel)
- Added
onBindStatusComponent(StatusComponent, InviteUserViewModel, GroupChannel)
- Replaced
-
- Replaced
setCustomUserListQueryHandler(CustomUserListQueryHandler)
tosetCustomPagedQueryHandler(PagedQueryHandler<UserInfo>)
- Replaced
setUserListAdapter(UserListAdapter)
tosetInviteUserListAdapter(InviteUserListAdapter)
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftButtonClickListener(OnClickListener)
- Deleted
setCustomInviteChannelFragment(InviteChannelFragment)
- Added
withArguments(Bundle)
- Replaced
-
- Renamed
PromoteOperatorsActivity
toRegisterOperatorListActivity
- Replaced
Fragment createPromoteOperatorFragment(GroupChannel)
toFragment createFragment()
.
- Renamed
-
- Renamed
PromoteOperatorsFragment
toRegisterOperatorListFragment
- Deleted
setErrorFrame()
. - Replaced
getDisabledUserIds()
to usesetDisabledUserIdList(List<String>)
inRegisterOperatorListAdapter
. - Replaced
onUserSelectComplete(List)
toonUserSelectionCompleted(List)
- Replaced
setRightButtonText(CharSequence)
andsetRightButtonEnabled(boolean)
to usenotifySelectedUserChanged(int)
inSelectUserHeaderComponent
. - Replaced
setHeaderLeftButtonListener(OnClickListener)
to usesetOnLeftButtonClickListener(OnClickListener)
inSelectUserHeaderComponent
. - Replaced
setUserListAdapter(UserListAdapter)
to usesetAdapter(RegisterOperatorListAdapter)
inRegisterOperatorListComponent
. - Replaced
setCustomUserListQueryHandler(CustomUserListQueryHandler)
to usePagedQueryHandler<Member> createQueryHandler(String)
inRegisterOperatorsViewModel
. - Added
onBindHeaderComponent(SelectUserHeaderComponent, RegisterOperatorViewModel, GroupChannel)
- Added
onBindRegisterOperatorListComponent(RegisterOperatorListComponent, RegisterOperatorViewModel, GroupChannel)
- Added
onBindStatusComponent(StatusComponent, RegisterOperatorViewModel, GroupChannel)
- Renamed
-
- Replaced
setCustomUserListQueryHandler(CustomUserListQueryHandler)
tosetCustomPagedQueryHandler(PagedQueryHandler<Member>)
- Replaced
setUserListAdapter(UserListAdapter)
tosetRegisterOperatorListAdapter(RegisterOperatorListAdapter)
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftButtonClickListener(OnClickListener)
- Deleted
setCustomPromoteOperatorFragment(PromoteOperatorsFragment)
- Added
withArguments(Bundle)
- Replaced
-
- Replaced
sb_promote_operator
tosb_text_register_operator
- Replaced
sb_dismiss_operator
tosb_text_unregister_operator
- Replaced
sb_text_error_promote_operator
tosb_text_error_register_operator
- Replaced
sb_text_error_dismiss_operator
tosb_text_error_unregister_operator
- Replaced
-
- Replaced
ModerationFragment createModerationsFragment(String)
toFragment createFragment()
.
- Replaced
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
to usesetOnLeftButtonClickListener(OnClickListener)
inHeaderComponent
. - Replaced
setOnMenuItemClickListener(OnMenuItemClickListener)
to usesetOnMenuClickListener(OnItemClickListener<Menu>)
inModerationListComponent
. - Added
onBindHeaderComponent(SelectUserHeaderComponent, ModerationViewModel, GroupChannel)
- Added
onBindModerationListComponent(ModerationListComponent, ModerationViewModel, GroupChannel)
- Replaced
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftButtonClickListener(OnClickListener)
- Deleted
setCustomModerationFragment(ModerationFragment)
- Added
withArguments(Bundle)
- Replaced
-
- Replaced
MemberListFragment createMemberListFragment(String)
toFragment createFragment()
.
- Replaced
-
- Deleted
setErrorFrame()
. - Replaced
onOperatorDismissed()
andonChannelDeleted()
to use observe LiveData inMemberListViewModel
. SeegetOperatorDismissed()
andgetChannelDeleted()
methods. - Replaced
setCustomQueryHandler(CustomMemberListQuery)
to usePagedQueryHandler<Member> createQueryHandler(String)
inMemberListViewModel
. - Replaced
onItemClicked(View, int, Member)
toonItemClicked(View, int, Member)
inMemberListComponent
. - Replaced
onItemLongClicked(View, int, Member)
toonItemLongClicked(View, int, Member)
inMemberListComponent
. - Replaced
onActionItemClicked(View, int, Member)
toonActionItemClicked(View, int, Member)
inMemberListComponent
. - Replaced
onProfileClicked(View, int, Member)
toonUserProfileClicked(View, int, Member)
inMemberListComponent
. - Replaced
setMemberListAdapter(MemberListAdapter)
tosetAdapter(MemberListAdapter)
inMemberListComponent
. - Replaced
setItemClickListener(OnItemClickListener<Member>)
tosetOnItemClickListener(OnItemClickListener<Member>)
inMemberListComponent
. - Replaced
setItemLongClickListener(OnItemLongClickListener<Member>)
tosetOnItemLongClickListener(OnItemLongClickListener<Member>)
inMemberListComponent
. - Replaced
setActionItemClickListener(0nItemClickListener<Member>)
tosetOnActionItemClickListener(OnItemClickListener<Member>)
inMemberListComponent
. - Replaced
setOnProfileClickListener(0nItemClickListener<Member>)
tosetOnProfileClickListener(OnItemClickListener<Member>)
inMemberListComponent
. - Replaced
setHeaderLeftButtonListener(OnClickListener)
to usesetOnLeftButtonClickListener(OnClickListener)
inHeaderComponent
. - Replaced
setHeaderRightButtonListener(OnClickListener)
to usesetOnRightButtonClickListener(OnClickListener)
inHeaderComponent
. - Replaced
setLoadingDialogHandler(LoadingDialogHandler)
tosetOnLoadingDialogHandler(LoadingDialogHandler)
inMemberListModule
. - Added
onBindHeaderComponent(HeaderComponent, MemberListViewModel, GroupChannel)
- Added
onBindMemberListComponent(MemberListComponent, MemberListViewModel, GroupChannel)
- Added
onBindStatusComponent(StatusComponent, MemberListViewModel, GroupChannel)
- Deleted
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftButtonClickListener(OnClickListener)
- Replaced
setHeaderRightButtonListener(OnClickListener)
tosetOnRightButtonClickListener(OnClickListener)
- Replaced
setItemClickListener(OnItemClickListener)
tosetOnItemClickListener(OnItemClickListener)
- Replaced
setItemLongClickListener(OnItemLongClickListener)
tosetOnItemLongClickListener(OnItemLongClickListener)
- Replaced
setActionItemClickListener(OnItemClickListener)
tosetOnActionItemClickListener(OnItemClickListener)
- Deleted
setCustomMemberListFragment(MemberListFragment)
- Added
withArguments(Bundle)
- Replaced
-
- Renamed
BannedListActivity
toBannedUserListActivity
- Replaced
Fragment createBannedListFragment(String)
toFragment createFragment()
.
- Renamed
-
- Renamed
BannedListFragment
toBannedUserListFragment
- Deleted
setErrorFrame()
. - Replaced
onOperatorDismissed()
andonChannelDeleted()
to use observe LiveData inBannedListViewModel
. SeegetOperatorDismissed()
andgetChannelDeleted()
methods. - Replaced
setCustomQueryHandler(CustomMemberListQuery<User>)
to usePagedQueryHandler<User> createQueryHandler(String)
inBannedListViewModel
. - Replaced
setUserListAdapter(UserTypeListAdapter)
tosetAdapter(BannedUserListAdapter)
inBannedUserListComponent
. - Replaced
onItemClicked(View, int, User)
toonItemClicked(View, int, User)
inBannedUserListComponent
. - Replaced
onItemLongClicked(View, int, User)
toonItemLongClicked(View, int, User)
inBannedUserListComponent
. - Replaced
onActionItemClicked(View, int, User)
toonActionItemClicked(View, int, User)
inBannedUserListComponent
. - Replaced
onProfileClicked(View, int, User)
toonUserProfileClicked(View, int, User)
inBannedUserListComponent
. - Replaced
setItemClickListener(OnItemClickListener<User>)
tosetOnItemClickListener(OnItemClickListener<User>)
inBannedUserListComponent
. - Replaced
setItemLongClickListener(OnItemLongClickListener<User>)
tosetOnItemLongClickListener(OnItemLongClickListener<User>)
inBannedUserListComponent
. - Replaced
setActionItemClickListener(0nItemClickListener<User>)
tosetOnActionItemClickListener(OnItemClickListener<User>)
inBannedUserListComponent
. - Replaced
setOnProfileClickListener(0nItemClickListener<User>)
tosetOnProfileClickListener(OnItemClickListener<User>)
inBannedUserListComponent
. - Replaced
setHeaderLeftButtonListener(OnClickListener)
to usesetOnLeftButtonClickListener(OnClickListener)
inHeaderComponent
. - Replaced
setHeaderRightButtonListener(OnClickListener)
to usesetOnRightButtonClickListener(OnClickListener)
inHeaderComponent
. - Replaced
setLoadingDialogHandler(LoadingDialogHandler)
tosetOnLoadingDialogHandler(LoadingDialogHandler)
inBannedUserListModule
. - Added
onBindHeaderComponent(HeaderComponent, BannedUserListViewModel, GroupChannel)
- Added
onBindBannedUserListComponent(BannedUserListComponent, BannedUserListViewModel, GroupChannel)
- Added
onBindStatusComponent(StatusComponent, BannedUserListViewModel, GroupChannel)
- Renamed
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftButtonClickListener(OnClickListener)
- Replaced
setHeaderRightButtonListener(OnClickListener)
tosetOnRightButtonClickListener(OnClickListener)
- Replaced
setItemClickListener(OnItemClickListener)
tosetOnItemClickListener(OnItemClickListener)
- Replaced
setItemLongClickListener(OnItemLongClickListener)
tosetOnItemLongClickListener(OnItemLongClickListener)
- Replaced
setActionItemClickListener(OnItemClickListener)
tosetOnActionItemClickListener(OnItemClickListener)
- Replaced
setUserListAdapter(UserTypeListAdapter)
tosetBannedUserListAdapter(BannedUserListAdapter)
- Deleted
setCustomBannedMemberFragment(BannedListFragment)
- Added
withArguments(Bundle)
- Replaced
-
- Replaced
Fragment createMutedMemberListFragment(String)
toFragment createFragment()
.
- Replaced
-
- Deleted
setErrorFrame()
. - Replaced
onOperatorDismissed()
andonChannelDeleted()
to use observe LiveData inMutedMemberListViewModel
. SeegetOperatorDismissed()
andgetChannelDeleted()
methods. - Replaced
setCustomQueryHandler(CustomMemberListQuery<Member>)
to usePagedQueryHandler<Member> createQueryHandler(String)
inBannedListViewModel
. - Replaced
setMemberListAdapter(MemberListAdapter)
tosetAdapter(MutedMemberListAdapter)
inMutedMemberListComponent
. - Replaced
onItemClicked(View, int, Member)
toonItemClicked(View, int, Member)
inMutedMemberListComponent
. - Replaced
onItemLongClicked(View, int, Member)
toonItemLongClicked(View, int, Member)
inMutedMemberListComponent
. - Replaced
onActionItemClicked(View, int, Member)
toonActionItemClicked(View, int, Member)
inMutedMemberListComponent
. - Replaced
onProfileClicked(View, int, Member)
toonUserProfileClicked(View, int, Member)
inMutedMemberListComponent
. - Replaced
setItemClickListener(OnItemClickListener<Member>)
tosetOnItemClickListener(OnItemClickListener<Member>)
inMutedMemberListComponent
. - Replaced
setItemLongClickListener(OnItemLongClickListener<Member>)
tosetOnItemLongClickListener(OnItemLongClickListener<Member>)
inMutedMemberListComponent
. - Replaced
setActionItemClickListener(0nItemClickListener<Member>)
tosetOnActionItemClickListener(OnItemClickListener<User>)
inMutedMemberListComponent
. - Replaced
setOnProfileClickListener(0nItemClickListener<Member>)
tosetOnProfileClickListener(OnItemClickListener<User>)
inMutedMemberListComponent
. - Replaced
setHeaderLeftButtonListener(OnClickListener)
to usesetOnLeftButtonClickListener(OnClickListener)
inHeaderComponent
. - Replaced
setHeaderRightButtonListener(OnClickListener)
to usesetOnRightButtonClickListener(OnClickListener)
inHeaderComponent
. - Replaced
setLoadingDialogHandler(LoadingDialogHandler)
tosetOnLoadingDialogHandler(LoadingDialogHandler)
inMutedMemberListModule
. - Added
onBindHeaderComponent(HeaderComponent, MutedMemberListViewModel, GroupChannel)
- Added
onBindMutedMemberListComponent(MutedMemberListComponent, MutedMemberListViewModel, GroupChannel)
- Added
onBindStatusComponent(StatusComponent, MutedMemberListViewModel, GroupChannel)
- Deleted
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftButtonClickListener(OnClickListener)
- Replaced
setHeaderRightButtonListener(OnClickListener)
tosetOnRightButtonClickListener(OnClickListener)
- Replaced
setItemClickListener(OnItemClickListener)
tosetOnItemClickListener(OnItemClickListener)
- Replaced
setItemLongClickListener(OnItemLongClickListener)
tosetOnItemLongClickListener(OnItemLongClickListener)
- Replaced
setActionItemClickListener(OnItemClickListener)
tosetOnActionItemClickListener(OnItemClickListener)
- Replaced
setMemberListAdpater(MemberListAdapter)
tosetMutedMemberListAdapter(MutedMemberListAdapter)
- Deleted
setCustomMutedMemberFragment(MutedMemberListFragment)
- Added
withArguments(Bundle)
- Replaced
-
- Replaced
Fragment createOperatorListFragment(String)
toFragment createFragment()
.
- Replaced
-
- Deleted
setErrorFrame()
. - Replaced
onOperatorDismissed()
andonChannelDeleted()
to use observe LiveData inOperatorListViewModel
. SeegetOperatorDismissed()
andgetChannelDeleted()
methods. - Replaced
setCustomQueryHandler(CustomMemberListQuery<User>)
to usePagedQueryHandler<User> createQueryHandler(String)
inOperatorListViewModel
. - Replaced
onItemClicked(View, int, User)
toonItemClicked(View, int, User)
inOperatorListComponent
. - Replaced
onItemLongClicked(View, int, User)
toonItemLongClicked(View, int, User)
inOperatorListComponent
. - Replaced
onActionItemClicked(View, int, User)
toonActionItemClicked(View, int, User)
inOperatorListComponent
. - Replaced
onProfileClicked(View, int, User)
toonUserProfileClicked(View, int, User)
inOperatorListComponent
. - Replaced
setItemClickListener(OnItemClickListener<User>)
tosetOnItemClickListener(OnItemClickListener<User>)
inOperatorListComponent
. - Replaced
setItemLongClickListener(OnItemLongClickListener<User>)
tosetOnItemLongClickListener(OnItemLongClickListener<User>)
inOperatorListComponent
. - Replaced
setActionItemClickListener(0nItemClickListener<User>)
tosetOnActionItemClickListener(OnItemClickListener<User>)
inOperatorListComponent
. - Replaced
setOnProfileClickListener(0nItemClickListener<User>)
tosetOnProfileClickListener(OnItemClickListener<User>)
inOperatorListComponent
. - Replaced
setHeaderLeftButtonListener(OnClickListener)
to usesetOnLeftButtonClickListener(OnClickListener)
inHeaderComponent
. - Replaced
setHeaderRightButtonListener(OnClickListener)
to usesetOnRightButtonClickListener(OnClickListener)
inHeaderComponent
. - Replaced
setLoadingDialogHandler(LoadingDialogHandler)
tosetOnLoadingDialogHandler(LoadingDialogHandler)
inOperatorListModule
. - Added
onBindHeaderComponent(HeaderComponent, OperatorListViewModel, GroupChannel)
- Added
onBindOperatorListComponent(OperatorListComponent, OperatorListViewModel, GroupChannel)
- Added
onBindStatusComponent(StatusComponent, OperatorListViewModel, GroupChannel)
- Deleted
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftButtonClickListener(OnClickListener)
- Replaced
setHeaderRightButtonListener(OnClickListener)
tosetOnRightButtonClickListener(OnClickListener)
- Replaced
setItemClickListener(OnItemClickListener)
tosetOnItemClickListener(OnItemClickListener)
- Replaced
setItemLongClickListener(OnItemLongClickListener)
tosetOnItemLongClickListener(OnItemLongClickListener)
- Replaced
setActionItemClickListener(OnItemClickListener)
tosetOnActionItemClickListener(OnItemClickListener)
- Replaced
setUserListAdapter(UserTypeListAdapter)
tosetOperatorListAdapter(OperatorListAdapter)
- Deleted
setCustomOperatorListFragment(OperatorListFragment)
- Added
withArguments(Bundle)
- Replaced
-
- Replaced
MessageSearchFragment createMessageSearchFragment(String)
toFragment createFragment()
.
- Replaced
-
- Deleted
setErrorFrame()
. - Added
onBindHeaderComponent(MessageSearchHeaderComponent, MessageSearchViewModel, GroupChannel)
- Added
onBindMessageSearchListComponent(MessageSearchListComponent, MessageSearchViewModel, GroupChannel)
- Added
onBindStatusComponent(StatusComponent, MessageSearchViewModel, GroupChannel)
- Deleted
-
- Replaced
setItemClickListener(OnItemClickListener)
tosetOnItemClickListener(OnItemClickListener)
- Deleted
setCustomMessageSearchFragment(MessageSearchFragment)
- Added
withArguments(Bundle)
- Replaced
-
- Renamed
ParticipantsListActivity
toParticipantListActivity
- Replaced
ParticipantsListFragment createParticipantsListFragment(String)
toFragment createFragment()
.
- Renamed
-
- Renamed
ParticipantsListFragment
toParticipantListFragment
- Deleted
setErrorFrame()
. - Added
getChannelDeleted()
to use observe LiveData inParticipantsViewModel
. - Added
PagedQueryHandler<User> createQueryHandler(String)
inParticipantsViewModel
. - Replaced
setUserListAdapter(UserTypeListAdapter)
tosetAdapter(ParticipantsListAdapter)
inParticipantsListComponent
. - Replaced
onItemClicked(View, int, User)
toonItemClicked(View, int, User)
inParticipantsListComponent
. - Replaced
onItemLongClicked(View, int, User)
toonItemLongClicked(View, int, User)
inParticipantsListComponent
. - Added
onActionItemClicked(View, int, User)
inParticipantsListComponent
. - Replaced
onProfileClicked(View, int, User)
toonUserProfileClicked(View, int, User)
inParticipantsListComponent
. - Replaced
setItemClickListener(OnItemClickListener<User>)
tosetOnItemClickListener(OnItemClickListener<User>)
inParticipantsListComponent
. - Replaced
setItemLongClickListener(OnItemLongClickListener<User>)
tosetOnItemLongClickListener(OnItemLongClickListener<User>)
inParticipantsListComponent
. - Added
setOnActionItemClickListener(OnItemClickListener<User>)
inParticipantsListComponent
. - Replaced
setOnProfileClickListener(0nItemClickListener<User>)
tosetOnProfileClickListener(OnItemClickListener<User>)
inParticipantsListComponent
. - Replaced
setHeaderLeftButtonListener(OnClickListener)
to usesetOnLeftButtonClickListener(OnClickListener)
inHeaderComponent
. - Replaced
setHeaderRightButtonListener(OnClickListener)
to usesetOnRightButtonClickListener(OnClickListener)
inHeaderComponent
. - Replaced
setLoadingDialogHandler(LoadingDialogHandler)
tosetOnLoadingDialogHandler(LoadingDialogHandler)
inParticipantsListModule
. - Added
onBindHeaderComponent(HeaderComponent, ParticipantViewModel, OpenChannel)
- Added
onBindParticipantsListComponent(ParticipantListComponent, ParticipantViewModel, OpenChannel)
- Added
onBindStatusComponent(StatusComponent, ParticipantViewModel, OpenChannel)
- Renamed
-
- Replaced
setHeaderLeftButtonListener(OnClickListener)
tosetOnLeftButtonClickListener(OnClickListener)
- Replaced
setHeaderRightButtonListener(OnClickListener)
tosetOnRightButtonClickListener(OnClickListener)
- Replaced
setItemClickListener(OnItemClickListener)
tosetOnItemClickListener(OnItemClickListener)
- Replaced
setItemLongClickListener(OnItemLongClickListener)
tosetOnItemLongClickListener(OnItemLongClickListener)
- Replaced
setActionItemClickListener(OnItemClickListener)
tosetOnActionItemClickListener(OnItemClickListener)
- Replaced
setUserListAdapter(UserTypeListAdapter)
tosetParticipantListAdapter(ParticipantListAdapter)
- Deleted
setCustomParticipantsListFragment(ParticipantsListFragment)
- Added
withArguments(Bundle)
- Replaced
These adapters are binded to RecyclerView
by using in each screen. See the follow table.
feature name | v2.0 | v3.0 |
---|---|---|
MemberList | MemberListAdapter |
MemberListAdapter |
OperatorList | UserTypeListAdapter |
OperatorListAdapter |
MutedMemberList | MemberListAdapter |
MutedMemberListAdapter |
BannedUserList | UserTypeListAdapter |
BannedUserListAdapter |
Participantlist | UserTypeListAdapter |
ParticipantListAdapter |