loadingStates property

Map<String, int> loadingStates
final

Reference counts of in-flight loading operations, keyed by identifier.

The value is the number of operations currently holding that key, not a boolean: two overlapping operations on 'fetch' store 2, and the spinner stays up until both finish. A key is absent when nothing holds it — the map never retains zero entries.

Implementation

final Map<String, int> loadingStates;