How to display a custom loading indicator in a Group Channel ViewController? #139
lookdeceline
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
-
This post walks you through how to display a custom loading indicator in a Group Channel ViewController.
Steps
SBUGroupChannelViewController
.shouldUpdateLoadingState(_:)
method, which is a delegate method ofSBUCommonViewModelDelegate
. This is where you can add your custom actions related to the loading indicator.SBUGroupChannelViewController
is presented, set it in theSBUViewControllerSet
.SBUGlobals.loadingIndicator.groupChannel.cachedMessages
totrue
. This is because by default, a loading indicator is not shown while loading the cached channels.Result
Beta Was this translation helpful? Give feedback.
All reactions