def _onListUpdated(self, selectedID, isFullUpdate, isReqInCoolDown,
                    result):
     self._updateSortField(self._paginator.getLastSort())
     status, data = result
     if status is True:
         self._enableRefreshBtn(False)
         if len(data) == 0:
             self._showDummy(CLANS.CLANPERSONALINVITESWINDOW_NOINVITES)
             self.dataProvider.rebuildList(None, False)
         else:
             g_clanCtrl.updateClanCommonDataCache([
                 ClanCommonData.fromClanPersonalInviteWrapper(item)
                 for item in data
             ])
             self.dataProvider.rebuildList(data,
                                           self._paginator.canMoveRight())
             self.as_hideDummyS()
     else:
         self._enableRefreshBtn(
             True,
             toolTip=CLANS.
             CLANINVITESWINDOW_TOOLTIPS_REFRESHBUTTON_ENABLEDTRYTOREFRESH)
         self._showDummy(CLANS.CLANINVITESWINDOW_DUMMY_SERVERERROR_TITLE,
                         CLANS.CLANINVITESWINDOW_DUMMY_SERVERERROR_TEXT,
                         RES_ICONS.MAPS_ICONS_LIBRARY_ALERTBIGICON,
                         alignCenter=False)
     self._updateDeclineSelectedGroup()
     self.showWaiting(False)
     return
 def _onListUpdated(self, selectedID, isFullUpdate, isReqInCoolDown, result):
     self._updateSortField(self._paginator.getLastSort())
     status, data = result
     if status is True:
         self._enableRefreshBtn(False)
         if len(data) == 0:
             self._showDummy(CLANS.CLANPERSONALINVITESWINDOW_NOINVITES)
             self.dataProvider.rebuildList(None, False)
         else:
             g_clanCtrl.updateClanCommonDataCache(
                 [ClanCommonData.fromClanPersonalInviteWrapper(item) for item in data]
             )
             self.dataProvider.rebuildList(data, self._paginator.canMoveRight())
             self.as_hideDummyS()
     else:
         self._enableRefreshBtn(True, toolTip=CLANS.CLANINVITESWINDOW_TOOLTIPS_REFRESHBUTTON_ENABLEDTRYTOREFRESH)
         self._showDummy(
             CLANS.CLANINVITESWINDOW_DUMMY_SERVERERROR_TITLE,
             CLANS.CLANINVITESWINDOW_DUMMY_SERVERERROR_TEXT,
             RES_ICONS.MAPS_ICONS_LIBRARY_ALERTBIGICON,
             alignCenter=False,
         )
     self._updateDeclineSelectedGroup()
     self.showWaiting(False)
     return
 def __applyFoundData(self, data):
     self._showDummy(False)
     g_clanCtrl.updateClanCommonDataCache([ ClanCommonData.fromClanSearchData(item) for item in data ])
     self._searchDP.rebuildList(data)
     self.__lastSuccessfullyFoundClans = data
 def __applyFoundData(self, data):
     self._showDummy(False)
     g_clanCtrl.updateClanCommonDataCache(
         [ClanCommonData.fromClanSearchData(item) for item in data])
     self._searchDP.rebuildList(data)
     self.__lastSuccessfullyFoundClans = data