Upsert
Screen
constructor(itemId: String? = null, insertTitle: StringResource, updateTitle: StringResource, insertButtonText: StringResource = Res.string.insert, viewModel: V)
Parameters
item Id
The identifier of the item to update
insert Title
The title of the screen when the action is an insert action
update Title
The title of the screen when the action is an update action
insert Button Text
The text of the button used to upsert the item
view Model
The support viewmodel for the screen
I
The type of the item displayed
V
The type of the viewmodel of the screen