I'm well under way with my SMS application now, but as I add more functions it dawned on me that maybe my approach is wrong.
Basically I'm using one Form and several panels.
All is working well so far, but at present I just set the visibility of the controls as required (Erels runtime example has been a tremendous help... http://www.b4x.com/forum/showthread.php?t=907).
So far the application is fast and works exactly as I intended.
But, and here is the question, should I really be disposing the controls instead of hiding them?
I ask this because the application will be running in the background the whole time my Device is switched on and so I want it to hog as little of the resources as possible.
Maybe I'm misgiven in my assumption that more controls (even if hidden) means more memory, and I'd be grateful of some advice on this matter.
Regards,
RandomCoder
Basically I'm using one Form and several panels.
All is working well so far, but at present I just set the visibility of the controls as required (Erels runtime example has been a tremendous help... http://www.b4x.com/forum/showthread.php?t=907).
So far the application is fast and works exactly as I intended.
But, and here is the question, should I really be disposing the controls instead of hiding them?
I ask this because the application will be running in the background the whole time my Device is switched on and so I want it to hog as little of the resources as possible.
Maybe I'm misgiven in my assumption that more controls (even if hidden) means more memory, and I'd be grateful of some advice on this matter.
Regards,
RandomCoder