add class ImageAdapter in MyActivity.java