Vincent7036552
Posts: 0
Joined: Mon Aug 11, 2014 10:32 am

Contacts Component very slow and display bug

Hi guys,

We followed the appery tutorial (http://devcenter.appery.io/tutorials/...) to show the phone contacts from address book.

It works but we have a display bug when loading the list and it's very slow to load the page (at least 10 seconds). See first screenshot.

Once the page is loaded, the contact list is displayed correctly and the event on each contact works. See second screenshot.

How could we avoid this display bug and make the page load faster?

Thanks!

Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Contacts Component very slow and display bug

Hello Vincent,

Could you please tell me what version of the OS and what the device do you use, because speed of execution depends on the performance of the device?

Vincent7036552
Posts: 0
Joined: Mon Aug 11, 2014 10:32 am

Contacts Component very slow and display bug

Hi Evgene,

Thanks for your reply: iPhone 4 + iOS 7.1.1

Vincent

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Contacts Component very slow and display bug

Vincent,

In addition, the number of the contacts also affects the time of their receipt:
http://stackoverflow.com/questions/13...

Vincent7036552
Posts: 0
Joined: Mon Aug 11, 2014 10:32 am

Contacts Component very slow and display bug

Ok thank you for the pointer.

So what would be a good solution? Should we remove images? Would this improve the performances dramatically?

Thanks!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Contacts Component very slow and display bug

Hi Vincent,

Yes, this will surely improve the performance. Just delete the unnecessary data to see it.

Vincent7036552
Posts: 0
Joined: Mon Aug 11, 2014 10:32 am

Contacts Component very slow and display bug

Hi Katya,

I removed the images but it's still very slow and there is still the display but when loading the page.

Is there anything we can do to make it load faster and avoid the display bug?

Thanks!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Contacts Component very slow and display bug

Hi Vincent,

How many contacts do you load at once? Let's try adding handlers on Success and Complete events in order to check what takes more time: obtaining contacts or generating a list (Success fires after you receive data, Complete fires after mapping is ended). Most probably, there is the second option.

Vincent7036552
Posts: 0
Joined: Mon Aug 11, 2014 10:32 am

Contacts Component very slow and display bug

Hi Katya,

There are about 300 contacts to load.

I added some debug and what takes so long is generating the list. During the rendering of the list, the design is broken and the app is frozen.

What should I do then?

Thanks!

Vincent7036552
Posts: 0
Joined: Mon Aug 11, 2014 10:32 am

Contacts Component very slow and display bug

Hi guys,

Any update on this?

Thanks

Return to “Issues”