TMPrePurchaseDropDownItemAdapter

Adapter for displaying a list of dropdown items in the prepurchase flow.

Parameters

items

The list of TMPrePurchaseDropDownItem to display.

clickListener

A callback invoked when a dropdown item is clicked.

Constructors

Link copied to clipboard
constructor(items: List<TMPrePurchaseDropDownItem>, clickListener: (TMPrePurchaseDropDownItem) -> Unit)

Types

Link copied to clipboard
inner class ViewHolder(binding: <Error class: unknown class>) : RecyclerView.ViewHolder

ViewHolder for a dropdown item in the prepurchase flow.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getItemCount(): Int
Link copied to clipboard
open fun getItemId(p0: Int): Long
Link copied to clipboard
open fun getItemViewType(p0: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun notifyItemMoved(p0: Int, p1: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setHasStableIds(p0: Boolean)
Link copied to clipboard
fun updateSelectedMarket(selectedMarket: TMMarketDomain)

Updates the selected market and notifies changes for the UI.