how to use images in model class in java in android code example Example: android java image image.setImageResource(R.drawable.imageid);