Using Jinri Toutiao screen adaptation scheme, RecyclerView appears Density recovery bug

problem description

using Jinri Toutiao"s screen adaptation scheme, when RecyclerView dynamically updates and adds Item, part of the Item returns to the original density state after the update, resulting in the interface, part of which is the View, adapted by Jinri Toutiao and part of the View without any adaptation scheme

.

the environmental background of the problems and what methods you have tried

refer to [summary and solution of headline screen adaptation problems, this time you are worth trying] https://juejin.im/post/5b7faf. method, inheriting RecyclerView and rewriting the following methods, RecyclerView directly does not show

@Override
public void setOverScrollMode(int mode) {
    super.setOverScrollMode(mode);
    ScreenUtils.restoreAdaptScreen();
}

what result do you expect? What is the error message actually seen?

there are no errors reported.
it is expected that after the Item update, all the View in the RecyclerView will be the View adapted by Jinri Toutiao

Menu