``` sealed class ItemType(val type: Int) { obje...
# getting-started
n
Copy code
sealed class ItemType(val type: Int) {
   object Header: ItemType(0)
  data class CartItem(val cart: Cart): ItemType(1) 
}
this would let you map the types, i am just guessing though