summaryrefslogtreecommitdiff
path: root/android-app/app/src/main/res/values
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-04-11 09:48:52 +0000
committerClaude <noreply@anthropic.com>2026-04-11 09:48:52 +0000
commit3ddf436958ffde3198492895725fc0ca8ab0a1b2 (patch)
tree4406784c833a04a0a8e49fe2c75a379c8c95dc5e /android-app/app/src/main/res/values
parent021bc2418d698fe2fc08e108bcba85d609dfed4b (diff)
Show loading spinners next to each instrument value during conditions fetch
- Add _conditionsLoading StateFlow to MainViewModel; set true when loadConditions() fires, false when the fetch completes (success or fail) - Cancel any in-flight conditions job when a new loadConditions() call arrives (e.g. rapid map pans) so only the latest fetch drives the state - Add a 10dp ProgressBar after each of the six data values in layout_instruments_sheet.xml (wind, temp, baro, current, waves, swell); visibility GONE by default, alpha 0.5; header section tinted colorOnSurfaceVariant, forecast section tinted #5B9EC2 to match its labels - Observe conditionsLoading in MainActivity and toggle all six spinners together (all values come from one API call so they load in sync) https://claude.ai/code/session_01HXPjBsogsJVRwCiekDGkJX
Diffstat (limited to 'android-app/app/src/main/res/values')
0 files changed, 0 insertions, 0 deletions