FrostCodes Active Member Licensed User Longtime User Jan 1, 2019 #1 Hello, please in vb.net for example you can dispose a view/control and this would remove the view and release the memory back. Is there anyway to do this . Reference links: https://www.thoughtco.com/disposing-objects-3424392 https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-dispose http://www.informit.com/articles/article.aspx?p=25751&seqNum=3
Hello, please in vb.net for example you can dispose a view/control and this would remove the view and release the memory back. Is there anyway to do this . Reference links: https://www.thoughtco.com/disposing-objects-3424392 https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-dispose http://www.informit.com/articles/article.aspx?p=25751&seqNum=3
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2019 #2 All objects are released when there are no references to them. If you want to remove a view from the layout then call Node.RemoveNodeFromLayout or B4XView.RemoveViewFromParent. Upvote 0
All objects are released when there are no references to them. If you want to remove a view from the layout then call Node.RemoveNodeFromLayout or B4XView.RemoveViewFromParent.