Answers for "how to remove the image resource from imageview in android programmatically"

1

android java remove imageview source

imageView.setImageDrawable(null);
Posted by: Guest on April-14-2021
0

How to delete image from folder in Android programmatically

File fdelete = new File(uri.getPath());
if (fdelete.exists()) {
    if (fdelete.delete()) {
        System.out.println("file Deleted :" + uri.getPath());
    } else {
        System.out.println("file not Deleted :" + uri.getPath());
    }
}
Posted by: Guest on July-03-2020

Code answers related to "how to remove the image resource from imageview in android programmatically"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language