How to add custom header view on channel list? (UIView ver.) #83
tezpark
announced in
0. Channel list
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Guide & Snippet
The logic below is a custom snippet with a simple example.
Create a
CustomChannelListHeaderView
class that inherits fromUIView
.SBUViewLifeCycle
is used for the view life cycle used by SendbirdUIKit. It is not required, so you can configure your view without it if you want.SBUGroupChannelListModule.List
, inherit from this class to create aCustomGroupChannelModule.List
class.CustomGroupChannelModule.List
class is configured to put aCustomChannelListHeaderView
in the listComponent.SBUModuleSet
.Result
Reference
Beta Was this translation helpful? Give feedback.
All reactions