aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt
AgeCommit message (Collapse)Author
2022-05-20- [shared] unitsFlow exposed to allow access to unfiltered units.Iván Ávalos
- [android] Improved memory usage by using unitsFlow in map. - [ios] Not rewritten yet, filter won't work.
2022-01-31Merge branch 'main' into ios_appIván Ávalos
2022-01-31Attach tickerFlow to viewModelScope in an attempt to bind it to app ↵Iván Ávalos
lifecycle more effectively
2022-01-31Tries to fix the units update issueIsidro Henoch
2022-01-26Implemented dependency injection with Swift property wrappersIván Ávalos
2022-01-20Added 2022 to copyright. Damn, I forgot we were in 2022.Iván Ávalos
2022-01-20Added license headers and removed unused importsIván Ávalos
2022-01-18Increased request timeout and fetch units ticker to 20 secondsIván Ávalos
2022-01-17Temporary fix: catch exceptions when retrieving positionsIván Ávalos
2022-01-17Implemented timer that fetches units every 10 seconds, and updated map to ↵Iván Ávalos
work with timer
2022-01-12Fixes the empty unit detailsIsidro Henoch
2021-12-30- ViewModel LiveData no longer externally mutable.Iván Ávalos
- Observers in fragments now owned by viewLifecycleOwner. - Disabled center animation on MapFragment startup - Search filter now triggered automatically. - Case insensitive filter logic.
2021-12-16Updates unit details fragment to fetch the information for the given IDIsidro Henoch
2021-12-11Adds the search behaviourIsidro Henoch
- Updates units_activity to include a search input - Adds the search functionality to the Units VM - Adds the required events to the Units Activity to perform the search
2021-12-08WIP: Implements the basic structure for the units list/mapIsidro Henoch
- Updates the Devices and Positions APIs to properly construct the Url's query when there are null values - Adds a units controller to the shared module - Adds a devices and map fragment that each print the fetched units on the console - Adds a units view model to connect previously mentioned fragments with the units controller