ReferenceListItem

data class ReferenceListItem(val parentInstance: ViewModelInstance, val pathToList: String, val index: Int) : ViewModelInstanceSource

Create a reference to an existing child view model instance within a list at a given index.

Parameters

parentInstance

The parent that contains the list.

pathToList

The path to the list. Slash delimited to refer to nested properties.

index

The index of the child instance in the list.

Constructors

Link copied to clipboard
constructor(parentInstance: ViewModelInstance, pathToList: String, index: Int)

Properties

Link copied to clipboard
val index: Int
Link copied to clipboard
Link copied to clipboard