既然view的绘制是异步的,为什么总是比activity慢?

12-21 15:23:12.510 2296-2296/? D/MainActivity的生命周期: onCreate:
12-21 15:23:12.596 2296-2296/? D/自定义View的生命周期: onFinishInflate: 
12-21 15:23:16.601 2296-2296/www.luoyin.com D/MainActivity的生命周期: onCreate: SystemClock.sleep(4000)
12-21 15:23:16.602 2296-2296/www.luoyin.com D/MainActivity的生命周期: onStart: 
12-21 15:23:20.605 2296-2296/www.luoyin.com D/MainActivity的生命周期: onStart: SystemClock.sleep(4000)
12-21 15:23:20.605 2296-2296/www.luoyin.com D/MainActivity的生命周期: onResume: 
12-21 15:23:24.606 2296-2296/www.luoyin.com D/MainActivity的生命周期: onResume: SystemClock.sleep(4000)
12-21 15:23:24.629 2296-2296/www.luoyin.com D/自定义View的生命周期: onMeasure: 
12-21 15:23:24.629 2296-2296/www.luoyin.com D/自定义View的生命周期: onMeasure: 
12-21 15:23:24.719 2296-2296/www.luoyin.com D/自定义View的生命周期: onSizeChanged: 
12-21 15:23:24.719 2296-2296/www.luoyin.com D/自定义View的生命周期: onLayout: 
12-21 15:23:24.730 2296-2296/www.luoyin.com D/自定义View的生命周期: onMeasure: 
12-21 15:23:24.730 2296-2296/www.luoyin.com D/自定义View的生命周期: onMeasure: 
12-21 15:23:24.732 2296-2296/www.luoyin.com D/自定义View的生命周期: onLayout: 
12-21 15:23:24.732 2296-2296/www.luoyin.com D/自定义View的生命周期: onDraw: 
查看回复

最新问答