add onClickListener on list item
This commit is contained in:
parent
419b8c1faa
commit
583a19091e
@ -33,6 +33,9 @@ class BoardsListAdapter internal constructor(
|
|||||||
|
|
||||||
override fun onBindViewHolder(holder: BoardViewHolder, position: Int) {
|
override fun onBindViewHolder(holder: BoardViewHolder, position: Int) {
|
||||||
val board = boards[position]
|
val board = boards[position]
|
||||||
|
holder.itemView.setOnClickListener {
|
||||||
|
// TODO start board activity
|
||||||
|
}
|
||||||
holder.boardTitle.text = board.title
|
holder.boardTitle.text = board.title
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user