dynamically change bitmap in imageView, android
        Posted  
        
            by 
                Junfei Wang
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Junfei Wang
        
        
        
        Published on 2012-11-03T22:43:29Z
        Indexed on 
            2012/11/03
            23:00 UTC
        
        
        Read the original article
        Hit count: 333
        
All,
I have a problem related to imageView, android.
  I have array which contains of 10 bitmap objects, called bm.
  I have a imageView, called im.
Now I wanna show the bitmaps in the array in im one by one, so I did the following:
new Thread(new Runnable() {
       public void run() {
         for(int j=0;j<10;j++){
             im.setImageBitmap(bm[j]);
         }
       }
      }).start();
But the result only shows the last bitmap in the array.
Can someone tell me what to do with this issue?
Millions of thanks!
© Stack Overflow or respective owner