Update README.md

This commit is contained in:
2024-06-26 09:51:44 +02:00
parent 097829cec8
commit b137849dd8
2 changed files with 12 additions and 2 deletions

View File

@ -37,6 +37,7 @@ class SimpleGridPageAdapter :
override fun onBindViewHolder(viewHolder: ViewHolder, position: Int) {
val data = asyncListDiffer.currentList[position]
viewHolder.itemView.isLongClickable = true
viewHolder.bind(data)
}
@ -46,7 +47,6 @@ class SimpleGridPageAdapter :
fun bind(task: Task) {
binding.textView.text = task.title
binding.root.isLongClickable = true
}
}