vnorderui / com.venuenext.vnorderui.ui.richcheckout / OrderLineItemAdapter

OrderLineItemAdapter

class OrderLineItemAdapter : Adapter<OrderItemViewHolder>

Types

OrderItemViewHolder

class OrderItemViewHolder : ViewHolder

Constructors

<init>

OrderLineItemAdapter(onRemoveClick: (id: String) -> Unit = {})

Functions

getItemCount

fun getItemCount(): Int

onBindViewHolder

fun onBindViewHolder(holder: OrderItemViewHolder, position: Int): Unit

onCreateViewHolder

fun onCreateViewHolder(parent: ViewGroup, viewType: Int): OrderItemViewHolder

setCartEntriesList

fun setCartEntriesList(cartEntries: List<OrderLineItem>): Unit