vnorderui / com.venuenext.vnorderui.orders.summary / PurchasedExperienceAdapter

PurchasedExperienceAdapter

class PurchasedExperienceAdapter : Adapter<PurchasedExperienceViewHolder>

Constructors

<init>

PurchasedExperienceAdapter(context: Context, delegate: PurchasedExperienceDelegate)

Properties

context

val context: Context

delegate

val delegate: PurchasedExperienceDelegate

items

val items: MutableList<PurchasedExperienceItem>

Functions

getItemCount

fun getItemCount(): Int

onBindViewHolder

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

onCreateViewHolder

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

onViewAttachedToWindow

fun onViewAttachedToWindow(holder: PurchasedExperienceViewHolder): Unit

setData

fun setData(newItems: List<PurchasedExperienceItem>): Unit