Blue.Sky Active Member Licensed User Longtime User Oct 26, 2015 #1 Hi I add 70 item to scrollview with image and label maybe 5 view I use loadbitmapsample for load picture And use largeheap but when i scroll to bottom,it's hanging Is there any way?
Hi I add 70 item to scrollview with image and label maybe 5 view I use loadbitmapsample for load picture And use largeheap but when i scroll to bottom,it's hanging Is there any way?
Erel B4X founder Staff member Licensed User Longtime User Oct 26, 2015 #2 Do you get any error in the logs? Upvote 0
KMatle Expert Licensed User Longtime User Oct 26, 2015 #3 Hint: Just use f.e. 10 iv's and label's and reuse them when you scroll: F.e. Label1 2 3 --> first visible Label, etc. 4 5 6 7 8 --> last visible Label, etc. 9 10 ScrollUp: 2 3 4 --> first visible Label, etc. 5 6 7 8 9 --> last visible Label, etc. 10 Label1 (repositioning after Label #9) Upvote 0
Hint: Just use f.e. 10 iv's and label's and reuse them when you scroll: F.e. Label1 2 3 --> first visible Label, etc. 4 5 6 7 8 --> last visible Label, etc. 9 10 ScrollUp: 2 3 4 --> first visible Label, etc. 5 6 7 8 9 --> last visible Label, etc. 10 Label1 (repositioning after Label #9)
Blue.Sky Active Member Licensed User Longtime User Oct 26, 2015 #4 Erel said: Do you get any error in the logs? Click to expand... There isn't error in Log section. only force stop when i scroll it to bottom raise error Upvote 0
Erel said: Do you get any error in the logs? Click to expand... There isn't error in Log section. only force stop when i scroll it to bottom raise error