阅读背景:

Systrace显示performTraversals和getDisplayList需要很长时间

来源:互联网 

I have a gridView with 20 custom components shown on screen at a time (as the grid view items). Scrolling the view is very choppy, and I'm trying to determine why. My systrace (shown below) shows a huge amount of time spent in performTraversals and getDisplayList (about 40ms), but I can't tell what they're doing. I've added custom tracing for my onMeasure, onLayout, and onDraw. Those are all I have a gridView with 20 custom components sho




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: