Time lagging to display more number of listitems on the screen

4 messages - 1336 views

Hi Kuix Team,

I dont know this should be a bug for Kuix or Our code problem.  I considered as  this was a Kuix Bug. So i posted my doubt here. Actually i am having the nearly 250 lisitems . So these listitems i displayed on the screen dynamically thorugh xml file and Dataprovider(based on Kapricekuix project).

Listitems displayed well on the screen. but Its taking to time nearly 2 to 5 minutes for display on the screen(dependent on the listitems numbers). If less listitems screen display fastly, if more number of listiems for screen display taking time.

Even i tested in Kaprice kuix project. there also takinf the time to display.. So  i considered as a performance issue for KUix. So i posted here.

If i am wrong i would like to tell Sorry.. and Let me know the exact problem for this.. Help me..

 

Regards,
Suresh A

 

 

I faced the same problem. One frame in my MIDlet had around 10 tabs, each of which had about 20 controls on them (checkboxes, textfields, texts). I then had to change about 5 of the checkboxes into two item radio button groups. Frame loading aside, the first loading of the tab (i.e. moving to a tab that hasn't been shown before) slowed from instantaneous to taking about 2 seconds. After several tests, I could confirm that this was indeed just because of the radio group. Digging the code deeper I found that the radiogroup inherits the List widget. There's definitely some problem in the implementation...

Digging deeper and testing more I have to conclude that I was wrong in my previous post. The checkbox -> radio wasn't the change effecting the performance but the increase in controls visible when the tab is shown. It seems it's the calculation of the required space and layout for the controls that is quite slow, though also quite understandable. I circumvented this slowness by setting most of the controls invisible in the load phase and only showing them as need be. Speed improved dramatically.

Showing too meny Widget that out of screen if not a good idea,that will make the java vm work slowly.but I also has a xml ,it show page 1 to 500 page,it will take long time to send vml from wireless to my device,but cost less than 30 second.After that I modi the source code of radiogroup and add "from","to" property for it to reduce the xml size,the xml show up quickly.So I think the problem may be u add too many widget in listitem,or your network is slow?