vector / com.haroldadmin.vector / VectorState
VectorState¶
interface VectorState
A state object contains all the necessary information to render the view.
Can be used with Kotlin data classes to allow for easy mutation
using the generated copy
function.
Example:
data class NotesListState( val notes: List<Note> = listOf() ): VectorState