Lost sanity

Report a typo

Fill in the gap to perform a sanity check and prevent errors due to an invalid adapterPosition.

holder.itemView.setOnClickListener {
    val adapterPosition = holder.bindingAdapterPosition
    if (_________) {
        onTransactionClick(transactions[adapterPosition])
    }
}
Enter a short text
___

Create a free account to access the full topic