I have an AlertDialog with 100 buttons and it appears with 400ms delay when I call show() for the first time

28 Views Asked by At

When I call dialog.show() later, it appears very fast. Seems like Android UI uses some sort of cache. How to force Android create this cache in the background?

dialogLaout.invalidate didn't help

buildDrawingCache() is depricated and seems to be turned off anyway

0

There are 0 best solutions below