aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-17 02:06:41 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-17 02:06:41 -0600
commite38960ff845bddbd463c43801ad01834f77474f2 (patch)
treeab217c135c9166a6d1e03cc000c021859f640321 /androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands
parent6858de4bf2ba110abc29078194135d971ce71aa5 (diff)
downloadetbsa-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/details/commands')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands/UnitCommandsFragment.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands/UnitCommandsFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands/UnitCommandsFragment.kt
index 61a4e37..cd8d7af 100644
--- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands/UnitCommandsFragment.kt
+++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands/UnitCommandsFragment.kt
@@ -16,8 +16,10 @@ import mx.trackermap.TrackerMap.android.databinding.UnitDetailsCommandsBinding
import mx.trackermap.TrackerMap.android.details.UnitDetailsAdapter
import mx.trackermap.TrackerMap.android.shared.MarkerTransformations
import org.koin.androidx.viewmodel.ext.android.viewModel
+import kotlin.time.ExperimentalTime
@DelicateCoroutinesApi
+@ExperimentalTime
class UnitCommandsFragment: Fragment() {
private var _binding: UnitDetailsCommandsBinding? = null
private val binding get() = _binding!!