Created new class ImageAdapter.java