I'm using xCustomListView to add a LARGE amount of panels.
Don't worry, I'm using lazy loading to fill these panels afterwards. But they need to be created before they can be filled...
Now my question is: in debug mode, it takes like ages to create all these panels and this even causes my phone to ask me if the app should be killed.
In release mode, things are super fast, and it doesn't even take a second to create all these panels!
I was wondering if I'm doing something wrong here. I definitely need to be able to debug my app, but I can hardly wait so long each time. So how can the performance in Debug mode be improved?
EDIT: just relaunched B4A and the speed is back to normal... strange!
B4X:
for i = 0 to 100000
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0,myxCustomListView.asview.Width, myxCustomListView.asview.height)
myxCustomListView.Add(p, someCustomData)
next
Don't worry, I'm using lazy loading to fill these panels afterwards. But they need to be created before they can be filled...
Now my question is: in debug mode, it takes like ages to create all these panels and this even causes my phone to ask me if the app should be killed.
In release mode, things are super fast, and it doesn't even take a second to create all these panels!
I was wondering if I'm doing something wrong here. I definitely need to be able to debug my app, but I can hardly wait so long each time. So how can the performance in Debug mode be improved?
EDIT: just relaunched B4A and the speed is back to normal... strange!