Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

iphone flickering when going from page to page

I noticed some issue when navigating from one page to other on iphone
iphone shows white haltransparent overlay when loading next page, it happens everytime when REST API is attached ot page_show event, I haven't checked other factors yet

any advice how to change color of this overlay or eliminate this effect?

I didn't notice this issue on android however when REST API is attached to the page show event and populates grid, adnroid seems to load base empty grid first and then when REST API is completed, repleces base grid to proper populated grid. This looks weird from user point of view.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

iphone flickering when going from page to page

Interesting as this usually only happens on Android. Try this: http://blog.tiggzi.com/2012/08/elimin...

Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

iphone flickering when going from page to page

Max,
It seems to help with overlay, any suggestion how to hide from user populating the grid by rest api response?
This is common for both platforms android and iphone, also this happens in your browser tester but much faster

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

iphone flickering when going from page to page

I'm not sure I understand.. what do you want to hide?

Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

iphone flickering when going from page to page

I came across weird behavior which doesn;t look good for end user. I have defined a grid, single row and 2 cells (button + label) hooked up to REST API which gets populated based on json response - all works fine.

the problem is how it works... I can see in the app that pages shows with template grid, empty button text, empty labels etc. then - I think rest api completes - this base grid disappears and new grid shows up - it takes 1-2 seconds for all this to happened but I can tell that page loads first with template empty grid and then quickly populates the grid hiding old base grid.

I hope I described this clear enough.
Not sure if the problem is with the event "page show", it seems like page with emprty grid shows before rest api completes and gets repsonse, lookslike response is available, empty grid gets replaced right away.

invoke service is attached to event PAGE SHOW
I use single file structure so I can;t use LOAD event get rest api response before empty grid shows up. Using multiple page structure is much slower

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

iphone flickering when going from page to page

The mapping to the grid, do you get a collection of items back or is it a single item?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

iphone flickering when going from page to page

If you map a collection to a grid (or any other iteration component), it shouldn't be visible on the page, only when the service completes and fills the grid. Can you share the app link?

Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

iphone flickering when going from page to page

I shared project with you, can't share client project in public at this moment

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

iphone flickering when going from page to page

It's shared with support? What's the app name and how to reproduce the problem?

Return to “Issues”