开发者

Preload a view in android?

I have a hidden view in android that I show in response to a button press. The first time I show it t开发者_如何学JAVAhere's a bit of a delay, and it hitches. After that it shows\hides smoothly.

Is there a way to preload a view so it's ready to be drawn smoothly the first time it's called upon?


Are these "hitches" happening in the emulator or on a real phone? I find sometimes things chug in the emulator but when I put it onto a phone, it performs fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜