Repository navigation
fix(android): switch columns in one frame without blank or fading rows - #22
Conversation
Changing numColumns showed two blank frames, then faded the rows in over four more. Every row binds again through notifyDataSetChanged, which RecyclerView animated as new rows fading in from transparent, and the new layout manager laid out from a posted pass one frame after the props. A rebind of every row now lays out without item animations, and a new layout manager lays out at the end of the prop update that made it.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
changing
numColumnson Android showed two blank frames, then faded the rows in over four more. every row binds again throughnotifyDataSetChanged, which RecyclerView animated as new rows fading in from transparent, and the new layout manager laid out from a posted pass one frame after the props. a rebind of every row now lays out without item animations, and a new layout manager lays out at the end of the prop update that made it.Summary by CodeRabbit