app / de.uniks.codliners.stock_simulator.ui.history / TransactionListAdapter / onCreateViewHolder

onCreateViewHolder

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

Creates a ViewHolder by inflating a CardTransactionBinding.

Parameters

parent - The parent of the inflated CardTransactionBinding.

viewType - Ignored.

Return
The created ViewHolder.