122

基于RecyclerView addView时思想改变子View宽高时局部刷新界面 - 简书

 6 years ago
source link: http://www.jianshu.com/p/3b0364bd16c2
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
忽然发现很多新技术都没弄过,RecyclerView居然也没用过,于是乎就学习了一下RecyclerView的用法顺带大概看了一下RecyclerView源码,在看到RecyclerView 滑动时调用LayoutManager类的layoutChunk函数addView的时候,我好奇的看了一下,这货为什么滑动中addView不卡,于是我发现了核心。 对了,今天中秋节,先祝大家今天中秋节快乐...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK