I have made a horizontal recyclerview inside a fragment. Now when I click on any item I don\'t see the on click listener working. Here is my code for the Adapter class:<
In ‘CustomViewHolder’ below ‘super(view)’ add view.setOnClickListener(this)
You’re done Should work.