Skip to content

Commit

Permalink
OnItemClickListener support for SAM
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanCaiCoding committed Apr 7, 2022
1 parent 957e10d commit 9b74e20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ abstract class SimpleListAdapter<T, VB : ViewBinding>(

class BindingViewHolder<VB : ViewBinding>(val binding: VB) : RecyclerView.ViewHolder(binding.root)

interface OnItemClickListener<T> {
fun interface OnItemClickListener<T> {
fun onItemClick(item: T, position: Int)
}
}
Expand Down

0 comments on commit 9b74e20

Please sign in to comment.