imageview clear image android kotlin code example
Example: clear imageview android
viewToUse.setImageResource(0);
//or
viewToUse.setImageResource(android.R.color.transparent);
viewToUse.setImageResource(0);
//or
viewToUse.setImageResource(android.R.color.transparent);