aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt
AgeCommit message (Collapse)Author
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