-
Notifications
You must be signed in to change notification settings - Fork 0
On Startup
Every time MainScreen is build, initializeLocalData() is called. If globalController.isInitialized is set to false (as per default), this means the method is called for the first time, which triggers fetching all team information from the database and instantiating all team objects as well as their member lists of player objects based on the player references in firestore. This takes some time for loading, as the method is asynchronous and is awaited to finish before the main screen is rendered. Finally, globalController.isInitialized is set to true. To prevent unnecessary requests and long waiting times every time when switching to MainScreen, if globalController.isInitialized is true, e.g. initializeLocalData() was called before, nothing happens.
This sidebar is customized. You can add new pages here by clicking 'Edit sidebar' above. To see all pages that exist in the Wiki click here
Ef Score
Firebase
UI
Figma Screens
Flutter
- Dashboard
- Start Game Screen
- Authentication Screen
- App Settings
- Class Model and Data
- Feed
- First Steps
- Helper Screen
- Settings Screen
- State Management
- Testing
- String Management
- Helpers