I am using the following code to removes childs on every viewgroup:
protected void onDestroy() {
super.onDestroy();
this.liberarMemoria();
}
public
Don't call it. UnsupportedOperationException is telling you that this method is not supported or functional so you'll have to accomplish the task another way. I don't see the need in calling this anyway as the garbage collector will handle this task. Bitmap recycling should be done manually if you need to ensure it being done.