I am using ImageView which are calls by buttons to load the images fills the memory consisting of this error java.lang.OutOfMemoryError would have a command that would clear the memory.
I am using ImageView which are calls by buttons to load the images fills the memory consisting of this error java.lang.OutOfMemoryError would have a command that would clear the memory.
When you upload the images, use the code below:
((BitmapDrawable) yourImageView.getDrawable()).getBitmap().recycle();