Recently I use RecyclerView and add a custom header view (another type of item view) and try to updated it when data has changed. Something strange happens. The adapter crea
More cleaner solution (is not bug in animator, but this is a feature of layout manager):
mRecyclerView.setLayoutManager(new GridLayoutManager(this, 5, LinearLayoutManager.VERTICAL, false){
@Override
public boolean supportsPredictiveItemAnimations() {
return false;//super.supportsPredictiveItemAnimations();
}
});