ProjectVScreenPhase enum
What a screen's data looks like right now; use it to choose between content, spinner, banner or error.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Recovery
public enum ProjectVScreenPhase
Values​
| Value | Description |
|---|---|
Idle | Nothing has been loaded yet; offer a sync. |
Loading | Data is loading; show a spinner, over the old data if there is some. |
Live | Fresh data from the server is shown. |
Empty | Loaded fine, but there is nothing to show; show an empty state. |
Partial | Some data can be shown, but the last update failed; show the data with a warning. |
Cached | Data saved on the device is shown; it may not be the latest. |
Stale | The shown data is known to be out of date; offer a sync. |
Offline | The server could not be reached and there is no data to show. |
Error | Loading failed and there is no data to show. |