I found the answer!
The correct way to do this is:
recyclerView.setAdapter(null);
recyclerView.setLayoutManager(null);
recyclerView.setAdapter(myAdapter);
recyclerView.setLayoutManager(myLayoutManager);
myAdapter.notifyDataSetChanged();
After that, all the items are getting the new style!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…