I am using a for
to go through a list of objects, but it only shows me the last one, in the console if it shows me that it goes through all, but in the Imageview
it only shows the last one.
Code:
if(!L.isEmpty()){
for (Bits bits : L){
imageBit.setImageBitmap(BitmapFactory.decodeFile(bits.getbImage()));
nameBit.setText(bits.getbText());
}
}
but I need to show one by one in the imageview
, for example Show the first, then the second, and so on until I finish, I do not know if it takes a TIMER
or as power does?