TMPre Purchase Drop Down Item Adapter
class TMPrePurchaseDropDownItemAdapter(items: List<TMPrePurchaseDropDownItem>, val clickListener: (TMPrePurchaseDropDownItem) -> Unit) : RecyclerView.Adapter<TMPrePurchaseDropDownItemAdapter.ViewHolder>
Adapter for displaying a list of dropdown items in the prepurchase flow.
Parameters
items
The list of TMPrePurchaseDropDownItem to display.
click Listener
A callback invoked when a dropdown item is clicked.
Constructors
Link copied to clipboard
constructor(items: List<TMPrePurchaseDropDownItem>, clickListener: (TMPrePurchaseDropDownItem) -> Unit)
Functions
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
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
Link copied to clipboard
Link copied to clipboard
open fun onBindViewHolder(@NonNull p0: TMPrePurchaseDropDownItemAdapter.ViewHolder, p1: Int, @NonNull p2: MutableList<Any>)
open override fun onBindViewHolder(holder: TMPrePurchaseDropDownItemAdapter.ViewHolder, position: Int)
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): TMPrePurchaseDropDownItemAdapter.ViewHolder
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
Link copied to clipboard
Link copied to clipboard
Updates the selected market and notifies changes for the UI.