input 에 값이 들어온다 치면...
switch(input){ case 0: imageview.set..... //이미지 바꿔줌 break; case 1: ... break; ... }
위와같이 하면 간단히 해결되지 않을까요.