How to hide a user profile image from the Suggested Mentions list? #105
tezpark
announced in
1. Chatting in a channel
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Guide & Snippet
SuggestedMentionList
is managed by theInputComponent
of theGroupChannelModule
.CustomSuggestedMentionList
by inheriting fromSBUSuggestedMentionList
and hide the user image of the cell in this class.CustomInputComponent
that changes the behavior of theInputComponent
to use this custom class and apply it to your module set.The logic below is a custom snippet with a simple example.
Create a
CustomSuggestedMentionList
class that inherits fromSBUSuggestedMentionList
.userImageView
hidden.SBUGroupChannelModule.Input
, inherit from this class to create aCustomGroupChannelModule.Input
class.CustomGroupChannelModule.Input
class is configured to put aCustomSuggestedMentionList
in the inputComponent.SBUModuleSet
.Result
Reference
Beta Was this translation helpful? Give feedback.
All reactions