Hello
I have a program with two layout, from the main call to another (startActivity (NameLayout2)) and load an image, and leave to the phone button to go back.
But I saw that in the log, when I enter the second layout again in the Activity_Create, the FirstTime this to False. I think this means that is unloaded.
In Activity_Pause when UserClosed = True, I put all this, to see if unloaded:
Any way to make it unload "real"?
The image that I use is a TouchImageView. The discharge with TouchImageView1.RemoveView, but I think that does not work, if go in and out, several times seeing several large photos, gives a memory error.
thanks
Jesús
I have a program with two layout, from the main call to another (startActivity (NameLayout2)) and load an image, and leave to the phone button to go back.
But I saw that in the log, when I enter the second layout again in the Activity_Create, the FirstTime this to False. I think this means that is unloaded.
In Activity_Pause when UserClosed = True, I put all this, to see if unloaded:
B4X:
TouchImageView1.RemoveView
Activity.RemoveAllViews
Activity.RemoveView
Activity.Finish
Any way to make it unload "real"?
The image that I use is a TouchImageView. The discharge with TouchImageView1.RemoveView, but I think that does not work, if go in and out, several times seeing several large photos, gives a memory error.
thanks
Jesús