ProductsDestinations

Navigation destinations for the Products feature.

This class uses Type-Safe Navigation with Serializable objects.

Types

Link copied to clipboard
@Serializable
object Add

Destination for the add product screen.

Link copied to clipboard
@Serializable
data class CatalogMaker(val ids: Collection<Long>)

Destination for the catalog maker screen.

Link copied to clipboard
@Serializable
data object Categories

Destination for the categories screen.

Link copied to clipboard
@Serializable
data class Details(val id: Long, val mode: ProductsDestinations.DetailsOf = DetailsOf.Details)

Destination for the product details screen.

Link copied to clipboard

Enum representing the details view mode.

Link copied to clipboard
@Serializable
data class Edit(val id: Long)

Destination for the edit product screen.

Link copied to clipboard
@Serializable
object List

Destination for the product list screen.

Link copied to clipboard
@Serializable
data object ListAndDetails

Destination for the adaptive list-detail layout.