diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-14 03:05:35 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-14 03:05:35 -0600 |
commit | c9bc3fe982d0f0a674d0cfe4d26bea6c786f541e (patch) | |
tree | e4a64f54472004dcd438681853c918dfba50f565 /androidApp/src/main/java | |
parent | 42a0e6d6e6f8b09c7f337dd6fc9f5632e5fe44fd (diff) | |
download | etbsa-trackermap-mobile-c9bc3fe982d0f0a674d0cfe4d26bea6c786f541e.tar.gz etbsa-trackermap-mobile-c9bc3fe982d0f0a674d0cfe4d26bea6c786f541e.tar.bz2 etbsa-trackermap-mobile-c9bc3fe982d0f0a674d0cfe4d26bea6c786f541e.zip |
Loading indicator for commands fragment
Diffstat (limited to 'androidApp/src/main/java')
-rw-r--r-- | androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/commands/UnitCommandsFragment.kt | 1 |
1 files changed, 1 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 90968e2..fa6a37a 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 @@ -47,6 +47,7 @@ class UnitCommandsFragment: Fragment() { private fun setupObservers() { unitCommandsViewModel.commands.observe(viewLifecycleOwner) { commands -> Log.d("UnitCommandsFragment", "Device commands - $commands") + binding.reportLoading.visibility = View.GONE val context = activity!!.applicationContext val adapter = ArrayAdapter<String>(context, R.layout.simple_list_item_checked) adapter.addAll(commands.map { it.description }) |