Hi,
I’m using the latest version of Sendbird UIkit. UIKit is initialised successfully, and SendbirdUIKit.connect returns a successful connection. After a successful connection, I run the following code in my Activity
conversationsFragment = ChannelListFragment.Builder()
.setUseHeader(false)
.build()
supportFragmentManager.beginTransaction()
.replace(R.id.fragment_container, conversationsFragment, TAG_CHAT_CONVERSATIONS_FRAGMENT)
.commit()
It creates the ChannelListFragment, and loadMoreBlocking() method is called eventually for loading the channel list. Within this method, the collection.loadMore() method is called, and the GroupChannelsCallbackHandler supplied to it is never triggered. On the UI I get a continuous loader which never goes away.
I have not customised the UIKit classes and using the ChannelListFragment.Builder() with the params as mentioned above. How can I fix this issue?
Here are the log messages from sendbird
D/SBUIKIT: [08:36:11.609 ChannelListFragment:onBeforeReady():86] >> ChannelListFragment::initModule()
D/SBUIKIT: [08:36:11.700 ChannelListFragment:onBindHeaderComponent():115] >> ChannelListFragment::setupHeaderComponent()
D/SBUIKIT: [08:36:11.788 ChannelListFragment:onBindChannelListComponent():128] >> ChannelListFragment::setupChannelListComponent()
D/SBUIKIT: [08:36:11.850 ChannelListFragment:onBindStatusComponent():142] >> ChannelListFragment::setupStatusComponent()
D/SBUIKIT: [08:36:11.881 ChannelListFragment:onReady():98] >> ChannelListFragment::onReady status=READY
D/SBUIKIT: [08:36:13.562 ChannelListViewModel:initChannelCollection():83] >> ChannelListViewModel::initChannelCollection()
After this last Log message, nothing else is triggered, and an infinite loader shows up on screen.