This commit is contained in:
andrew 2023-05-22 14:57:36 +09:30
parent d505109aa3
commit 8ef6ec2125

View File

@ -18,8 +18,6 @@ class BlockedContactsAdapter(val viewModel: BlockedContactsViewModel) : ListAdap
override fun areContentsTheSame(oldItem: Recipient, newItem: Recipient) = oldItem == newItem
}
fun getSelectedItems() = viewModel.state.selectedItems
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder {
val itemView = LayoutInflater.from(parent.context).inflate(R.layout.blocked_contact_layout, parent, false)
return ViewHolder(itemView)