I am loading a list of categories and depending on which is selected, I need to show the products of the corresponding category in the RecyclerView.
So when I f
Here is a workaround to select 1st child of RecyclerView after just setting adapter.
//position to be clicked
final int pos = 0;
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
recyclerView.findViewHolderForAdapterPosition(pos).itemView.performClick();
}
},1);