Voting: 
Vote up!
0 Votes
3 Replies
Unanswered

segment is taking too much time to load.

Question asked by dhiraj chaudhary on Feb 19, 2017 08:33 EST

Hi, I am using flex form in Kony 6.5.2. i have a segment with 8 labels, 2 buttons, 1 image and 5 hidden variable. In this segment, first time data is coming from service and next time i am storing data from service in an array and using that array only i am setting data in segment. In both the scenario form is getting too slow to load data in segment even with 15-20 data. if we have more than 20 data sometime app is crashing as well. Kindly suggest way to increse the speed of segment. Regards, Dhiraj Chaudhary

Posted In
Kony Inc Kony Studio
Vote up!
1 votes
Vote down!

Are you using autogrow on any of the segment containers (size: preffered)?

In the past I had this problem on Android it would be very slow, you could try to set a fixed size for everything and see if it speeds up the loading of the form.

Replied by: Feb 22, 2017 06:18 EST
Vote up!
0 votes
Vote down!

Kindly help me out Kony team as this problem is still there and we are facing lots of issue due to this.

Replied by: Mar 24, 2017 03:33 EDT
Vote up!
0 votes
Vote down!

Hi Dhiraj,

Apologies for the delay.

There might be many reasons for the segment taking time to load like as below.

1) If the scenario is like on button click, you are showing form with segment. If this is case, if the widgets creation is entirely dynamic.

2) If the images loading are with huge size.

3) If the hiererchy is more with nested elements

4) Also as mentioned above, if all the widgets along with containers are using "preferred'

To debug further, request to provide your application along with time taking to load at your end,devices and its OS version, device logs so that we can move further with our analysis. Incase you are unable to share the details here, kindly log a ticket in support with all the details so that respective team will look into it.

Thanks,
Madhuri C.
Customer Success Engineering.

Replied by: Mar 24, 2017 04:40 EDT
Gold