How to add custom footer view on channel list? (UIView ver.) #82
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
Customer request
ChannelListViewController
to add a custom component to the bottom of the view controller.Guide & Snippet
The logic below is a custom snippet with a simple example.
Create a
CustomChannelListFooterView
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 aCustomChannelListFooterView
in the listComponent.SBUModuleSet
.Result
Reference
Beta Was this translation helpful? Give feedback.
All reactions