Package-level declarations

Types

Link copied to clipboard
data class ItemScreenData(val jetpackId: String = UUID.randomUUID().toString(), val jetpackName: String = "", val jetpackPrice: Double = 0.0, val navigateBack: OneTimeEvent<Boolean> = OneTimeEvent(false))

Immutable data class representing the state of the create/edit item form.

Link copied to clipboard
class ItemViewModel @Inject constructor(homeRepository: HomeRepository, savedStateHandle: SavedStateHandle) : ViewModel

ViewModel for the create/edit item screen, managing Jetpack library creation and updates.