when i click on button 1 item add in my recycler view in kotlin android 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)}