recyclerview click kotlin code example
Example 1: how to programatically click on recyclerview item kotlin
recyclerView.findViewHolderForAdapterPosition(pos).itemView.performClick();
Example 2: recyclerview onclicklistener kotlin
val data = list[position]holder.itemView.setOnClickListener { cellClickListener.onCellClickListener(data)}