diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-17 02:06:41 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-17 02:06:41 -0600 |
commit | e38960ff845bddbd463c43801ad01834f77474f2 (patch) | |
tree | ab217c135c9166a6d1e03cc000c021859f640321 /androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices | |
parent | 6858de4bf2ba110abc29078194135d971ce71aa5 (diff) | |
download | etbsa-trackermap-mobile-e38960ff845bddbd463c43801ad01834f77474f2.tar.gz etbsa-trackermap-mobile-e38960ff845bddbd463c43801ad01834f77474f2.tar.bz2 etbsa-trackermap-mobile-e38960ff845bddbd463c43801ad01834f77474f2.zip |
Implemented timer that fetches units every 10 seconds, and updated map to work with timer
Diffstat (limited to 'androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices')
-rw-r--r-- | androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesFragment.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesFragment.kt index 923feab..dce8ceb 100644 --- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesFragment.kt +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/devices/DevicesFragment.kt @@ -14,8 +14,10 @@ import mx.trackermap.TrackerMap.android.shared.UnitRenderData import mx.trackermap.TrackerMap.android.units.UnitFragment import mx.trackermap.TrackerMap.android.units.UnitsViewModel import mx.trackermap.TrackerMap.client.models.UnitInformation +import kotlin.time.ExperimentalTime @DelicateCoroutinesApi +@ExperimentalTime class DevicesFragment(private val unitsViewModel: UnitsViewModel) : UnitFragment(unitsViewModel) { private var _binding: DevicesFragmentBinding? = null |