Android: programmatically call nDrawDisplayList

My rather complicated application has two or three lags of about 500 ms, which TraceView shows that they are in the GLES20Canvas.nDrawDisplayList . These delays occur only once when certain steps are taken, after which everything runs smoothly.

Is there any way to call these calls when creating / resuming activity?

Please do not give me answers in the "draw less" category. My code / layouts are already highly optimized and I am not starting to write executable java applications. I also read almost any Android performance tutorial that Google finds.

I need to use large views with dozens of nested ImageView and TextView that are displayed and animated around, I can’t find any more ways to further reduce complexity without creating and reusing this application is a nightmare.

+3
performance android
source share

No one has answered this question yet.

See similar questions:

8
Performance: how to prevent requestLayout () from laying the entire hierarchy

or similar:

3606
Close / hide Android soft keyboard
3295
Why is the Android emulator so slow? How can we speed up Android emulator development?
3288
Correct use cases for Android UserManager.isUserAGoat ()?
2609
Is there a unique identifier for an Android device?
2510
How to keep Android activity state by saving instance state?
2097
Is there a way to run Python on Android?
1858
"Debug certificate expired" error in Android Eclipse plugins
1844
What is "Context" on Android?
1296
Restart activity during Android rotation
545
Retrieving Android Software Version

All Articles