Android Studio – Looping array with while get only last value
I have three array int[] image = {R.drawable.img1,R.drawable.img2} int[] sound= {R.raw.m1,R.raw.m2} String[] nom ={"el1","el2"} I tryed to change a view with imageview, text from those array when click button but i got only the last value from three array these…