ChipTextFieldEvent

sealed interface ChipTextFieldEvent<T : Any>(source)

Defines the ChipTextFieldEvent contract for the SDAI presentation layer.

Author

Dmitriy Moroz

Inheritors

Types

Link copied to clipboard
data class Add<T : Any>(val item: T) : ChipTextFieldEvent<T>

Carries Add data through the SDAI presentation layer.

Link copied to clipboard
data class AddBatch<T : Any>(val items: List<T>) : ChipTextFieldEvent<T>

Carries AddBatch data through the SDAI presentation layer.

Link copied to clipboard
data class Remove<T : Any>(val index: Int) : ChipTextFieldEvent<T>

Carries Remove data through the SDAI presentation layer.

Link copied to clipboard
data class Update<T : Any>(val index: Int, val item: T) : ChipTextFieldEvent<T>

Carries Update data through the SDAI presentation layer.