Factory

@AssistedFactory
interface Factory

Creates an ItemViewModel for a given item.

Navigation 3 carries destination arguments on the dev.atick.feature.home.navigation.ItemNavKey itself rather than in a SavedStateHandle, so the id is supplied here at the point the entry is composed.

Functions

Link copied to clipboard
abstract fun create(existingJetpackId: String?): ItemViewModel