UsageState

constructor(loading: Boolean = false, items: List<UsageItem> = emptyList(), selectedCategory: UsageCategory? = null)(source)

Parameters

loading

True while the screen should show shimmer placeholders instead of stale data.

items

Ordered categories visible on the current usage screen.

selectedCategory

Category currently highlighted in the donut, or null to show total.