AccountAdapter

class AccountAdapter(accounts: List<DataStoreHelper.Account>, accountSelectCallback: (DataStoreHelper.Account) -> Unit, accountCreateCallback: (DataStoreHelper.Account) -> Unit, accountEditCallback: (DataStoreHelper.Account) -> Unit, accountDeleteCallback: (DataStoreHelper.Account) -> Unit) : RecyclerView.Adapter<AccountAdapter.AccountViewHolder>

Constructors

Link copied to clipboard
constructor(accounts: List<DataStoreHelper.Account>, accountSelectCallback: (DataStoreHelper.Account) -> Unit, accountCreateCallback: (DataStoreHelper.Account) -> Unit, accountEditCallback: (DataStoreHelper.Account) -> Unit, accountDeleteCallback: (DataStoreHelper.Account) -> Unit)

Types

Link copied to clipboard
inner class AccountViewHolder(binding: ViewBinding) : RecyclerView.ViewHolder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun getItemCount(): Int
Link copied to clipboard
open fun getItemId(p0: Int): Long
Link copied to clipboard
open override fun getItemViewType(position: 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 override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): AccountAdapter.AccountViewHolder
Link copied to clipboard
Link copied to clipboard
open fun setHasStableIds(p0: Boolean)