I use many imageviews on a scrollview. The bitmaps are loaded with LoadBitmapSample().
The problem I have is that the app crashes after approximately 10 orientation changes. The issue is discussed many times on different forums and a very good explanation can be found here.
The only real solution seems to be to call recycle() on all used bitmaps (even the ones used in ImageViews) in the onDestroy() method. The problem is that we don't have an equivalent to the onDestroy() method in B4A.
So my question is: Is there any solution how we can handle this issue in B4A?
The problem I have is that the app crashes after approximately 10 orientation changes. The issue is discussed many times on different forums and a very good explanation can be found here.
The only real solution seems to be to call recycle() on all used bitmaps (even the ones used in ImageViews) in the onDestroy() method. The problem is that we don't have an equivalent to the onDestroy() method in B4A.
So my question is: Is there any solution how we can handle this issue in B4A?