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.
精彩评论