How to display a custom loading indicator in a GroupChannelListViewController? #137
lookdeceline
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
-
This post walks you through how to display a custom loading indicator in a GroupChannelListViewController.
Steps
SBUGroupChannelListViewController
.shouldUpdateLoadingState(_:)
method, which is a delegate method ofSBUGroupChannelListViewModelDelegate
. This is where you can add your custom actions related to the loading indicator.SBUGroupChannelListViewController
is presented, set it in theSBUViewControllerSet
.SBUGlobals.loadingIndicator.groupChannelList.cachedChannels
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