Deletion

Report a typo

Fill in the blank in the following snippet:

class TransactionAdapter(
    transactions: List<Transaction>,
) : RecyclerView.Adapter<TransactionAdapter.TransactionViewHolder>() {

    private val transactions = transactions.toMutableList()

    fun removeAt(position: Int) {
        transactions.removeAt(position)
        _________________(position)
    }

}
Enter a short text
___

Create a free account to access the full topic