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
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Guide & Snippet
SuggestedMentionListis managed by theInputComponentof theGroupChannelModule.CustomSuggestedMentionListby inheriting fromSBUSuggestedMentionListand hide the user image of the cell in this class.CustomInputComponentthat changes the behavior of theInputComponentto use this custom class and apply it to your module set.The logic below is a custom snippet with a simple example.
Create a
CustomSuggestedMentionListclass that inherits fromSBUSuggestedMentionList.userImageViewhidden.SBUGroupChannelModule.Input, inherit from this class to create aCustomGroupChannelModule.Inputclass.CustomGroupChannelModule.Inputclass is configured to put aCustomSuggestedMentionListin the inputComponent.SBUModuleSet.Result
Reference
Beta Was this translation helpful? Give feedback.
All reactions