I need to click a row of RecyclerView programmatically
I tried - recyclerView.findViewHolderForAdapterPosition(2).itemView.performClick()
But it is giving
null pointer exception
sometime. I tried to check with trial and error I saw in a RecyclerView which is having 5 row and if I pass value more than 1 it's start giving null pointer exception.