I know you can return back to a previous page and hide the current one by doing B4XPages.ShowPageAndRemovePreviousPages("previouspagename").
However, that just seems to hide the current page and remove it from the stack. It still sits in memory, because when I show the page again, I can see the previous contents.
When your app has 50 pages, and they've all been opened once by the user, won't that be an issue for the memory of the mobile phone? Is there a way to remove a page completely from memory and load it back again when needed at a later stage?
However, that just seems to hide the current page and remove it from the stack. It still sits in memory, because when I show the page again, I can see the previous contents.
When your app has 50 pages, and they've all been opened once by the user, won't that be an issue for the memory of the mobile phone? Is there a way to remove a page completely from memory and load it back again when needed at a later stage?