You must set the adapter’s hasStableIds to true BEFORE you assign the adapter to your recyclerview.
YourAdapter adapter = new YourAdapter();
adapter.setHasStableIds(true);
myRecyclerView.setAdapter(adapter);
You must set the adapter’s hasStableIds to true BEFORE you assign the adapter to your recyclerview.
YourAdapter adapter = new YourAdapter();
adapter.setHasStableIds(true);
myRecyclerView.setAdapter(adapter);