vnwalletui / com.venuenext.vnwalletui.view.ui.vcbalance / VirtualCurrencyHistoryAdapter

VirtualCurrencyHistoryAdapter

class VirtualCurrencyHistoryAdapter : Adapter<VirtualCurrencyVH>

Constructors

<init>

VirtualCurrencyHistoryAdapter(onCancelClicked: OnCancelClicked)

Functions

getItemCount

fun getItemCount(): Int

getItemViewType

fun getItemViewType(position: Int): Int

onBindViewHolder

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

onCreateViewHolder

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

setData

fun setData(newData: List<BalanceHistoryItem>): Unit