StorageUsageIntent

sealed interface StorageUsageIntent : MviIntent(source)

User actions supported by the standalone storage usage screen.

Author

Dmitriy Moroz

Inheritors

Types

Link copied to clipboard
data class ConfirmClearAll(val categories: List<UsageCategory>) : StorageUsageIntent

Delete the confirmed set of categories.

Link copied to clipboard

Delete one category after the confirmation dialog is accepted.

Link copied to clipboard

Close any visible storage confirmation dialog.

Link copied to clipboard

Close the screen and return to Settings.

Link copied to clipboard

Ask the UI to confirm deleting every non-empty storage category.

Link copied to clipboard

Ask the UI to confirm deleting one non-empty category.

Link copied to clipboard
data class SelectCategory(val category: UsageCategory) : StorageUsageIntent

Highlight a storage category in the donut chart and center label.