nibbo Active Member Licensed User Longtime User Oct 24, 2014 #1 Hi Erel Could we have a couple of new methods on the standard page viewer? I have an app that need to page through loads of data and is running out of memory. What I would like to do is only keep three panels in a page view and add a new panel to the end of the viewer as they page through and remove the first one. I.e. initially load pages 1,2 & 3 and if they get to page 3 remove page 1 and add page 4 so the tablet only ever holds three pages in memory but look like it is holding several hundred. removeAt and insertAt methods would do it? Or does anyone have a better idea as to how this could be achieved..? Thanks
Hi Erel Could we have a couple of new methods on the standard page viewer? I have an app that need to page through loads of data and is running out of memory. What I would like to do is only keep three panels in a page view and add a new panel to the end of the viewer as they page through and remove the first one. I.e. initially load pages 1,2 & 3 and if they get to page 3 remove page 1 and add page 4 so the tablet only ever holds three pages in memory but look like it is holding several hundred. removeAt and insertAt methods would do it? Or does anyone have a better idea as to how this could be achieved..? Thanks
Erel B4X founder Staff member Licensed User Longtime User Oct 24, 2014 #2 Can you post the error message? Upvote 0
nibbo Active Member Licensed User Longtime User Oct 24, 2014 #3 Hi Erel, I have settled on a different approach for paging so no longer have the version with the standard page viewer in it. If I come across the problem again I will post it here but it would have needed about a thousand pages in the viewer which I think would cause most tables to run out of memory. Thanks Upvote 0
Hi Erel, I have settled on a different approach for paging so no longer have the version with the standard page viewer in it. If I come across the problem again I will post it here but it would have needed about a thousand pages in the viewer which I think would cause most tables to run out of memory. Thanks