Update ImageAdapter.java

Changing code alignment