开发者

Efficient way to present and frequently change images on android app?

I have several imageViews in a layout. Frequently, (5-10 sec) I want to have some of the images change (use another source).

Since I am only a 开发者_StackOverflow中文版beginner with android, energy-wise does using an imageView makes sense for my purpose?

Is there a more a efficient way, to present several images that are going to change frequently?

Thank you in advance!


ImageView makes perfect sense!


Well in that case I recommend to go with a TimerTask and in that task get the instance of the ImageView and call the setImageDrawable()


You can also use the ViewFlipper class to animate between different ImageViews at a specified interval.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜