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 @AssistedInject constructor(homeRepository: HomeRepository, @Assisted existingJetpackId: String?) : ViewModel
ViewModel for the create/edit item screen, managing Jetpack library creation and updates.