Hello,
I am using a ScrollView similarly to the customscrollview.zip example:
http://www.b4x.com/forum/basic4andr...417-another-scrollview-example.html#post47107
I need to clear, then re-populate the ScrollView each time the page is opened.
Is there a way to clear or remove all the views from a ScrollView panel? Is looping over the index 0f views the best way?
Could I re-initialize the ScrollView to clear it or will that leave orphans?
A third way would be to remove the ScrollView entirely from its parent, then create a new one?
What method is best?
Thanks,
Barry.
I am using a ScrollView similarly to the customscrollview.zip example:
http://www.b4x.com/forum/basic4andr...417-another-scrollview-example.html#post47107
I need to clear, then re-populate the ScrollView each time the page is opened.
Is there a way to clear or remove all the views from a ScrollView panel? Is looping over the index 0f views the best way?
Could I re-initialize the ScrollView to clear it or will that leave orphans?
A third way would be to remove the ScrollView entirely from its parent, then create a new one?
What method is best?
Thanks,
Barry.