Skip to main content

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​

ValueDescription
IdleNothing has been loaded yet; offer a sync.
LoadingData is loading; show a spinner, over the old data if there is some.
LiveFresh data from the server is shown.
EmptyLoaded fine, but there is nothing to show; show an empty state.
PartialSome data can be shown, but the last update failed; show the data with a warning.
CachedData saved on the device is shown; it may not be the latest.
StaleThe shown data is known to be out of date; offer a sync.
OfflineThe server could not be reached and there is no data to show.
ErrorLoading failed and there is no data to show.