change an image in imageview java
img.setImageResource(R.drawable.my_image);
swft ui imagev
//Make sure the image you want to show is imported into your "Assets.xcassets" file. Image("dog")
img.setImageResource(R.drawable.my_image);
//Make sure the image you want to show is imported into your "Assets.xcassets" file. Image("dog")