fetchMoreConference method
void
fetchMoreConference()
Implementation
void fetchMoreConference() async {
if (_cursor == "") {
return;
}
final fetchResult = await ConferenceListManager()
.fetchScheduledConferenceList(
[TUIConferenceStatus.notStarted, TUIConferenceStatus.running],
_cursor,
_fetchCount);
if (fetchResult.code == TUIError.success) {
_cursor = fetchResult.data?.cursor ?? "";
var list = fetchResult.data?.conferenceInfoList ?? [];
for (var conference in list) {
addConference(conference);
}
groupedConferences.refresh();
}
}