def saveViewState(self, isOnExit): Logutil.log("Begin saveViewState", util.LOG_LEVEL_INFO) #TODO: save selectedGameIndex from main view selectedGameIndex = 0 helper.saveViewState(self.gdb, isOnExit, 'gameInfoView', selectedGameIndex, self.selectedConsoleIndex, self.selectedGenreIndex, self.selectedPublisherIndex, self.selectedYearIndex, self.selectedCharacterIndex, self.selectedControlIdMainView, self.selectedControlId, self.settings) Logutil.log("End saveViewState", util.LOG_LEVEL_INFO)
def saveViewState(self, isOnExit): Logutil.log("Begin saveViewState UIGameInfoView", util.LOG_LEVEL_INFO) helper.saveViewState(self.gdb, isOnExit, 'gameInfoView', self.selectedGameIndex, self.selectedConsoleId, self.selectedGenreId, self.selectedPublisherId, self.selectedDeveloperId, self.selectedYearId, self.selectedCharacter, self.selectedMaxPlayers, self.selectedRating, self.selectedRegion, self.sortMethod, self.sortDirection, self.selectedControlIdMainView, self.selectedControlId, self.settings) Logutil.log("End saveViewState UIGameInfoView", util.LOG_LEVEL_INFO)