app-UI is a collection of user interface components that may be helpful to web and mobile developers for creating interactive applications using HTML and JavaScript, especially those targeting mobile devices. app-UI is a continual work in progress - it was born out of the necessity to have rich & native-feeling interfaces in HTML/JS experiences, and it works great with PhoneGap applications (http://www.phonegap.com). app-UI can easily be styled/customized using CSS.
I´m using App-UI and mustache.js. On one page mustache loads a template with a long list with links that takes you to new pages. Works perfectly. The thing is when you press the back button go get back to the list the page makes a refresh/reload that causes a flicker when the content is loaded again. on the first load you cant se this because your on the top of the page but when you go back from a page you are in the middle of the page where you pressed the link. I see the same behavior in the Fresh Food finder app when you go from marketdetailsview back to listview.
My question is, is there any way to prevent this reload/refresh? The content is static so there is no use for a refresh anyway.
Thank you for App-UI and thanks in advance for the helping hand.
Found a workaround for this one.
Setting this.animationDuration to 0 in viewnavigator.js.
There is no animation but there is no refresh/reload flicker and it still looks good so I will stick with that.
Hi,
I´m using App-UI and mustache.js. On one page mustache loads a template with a long list with links that takes you to new pages. Works perfectly. The thing is when you press the back button go get back to the list the page makes a refresh/reload that causes a flicker when the content is loaded again. on the first load you cant se this because your on the top of the page but when you go back from a page you are in the middle of the page where you pressed the link. I see the same behavior in the Fresh Food finder app when you go from marketdetailsview back to listview.
My question is, is there any way to prevent this reload/refresh? The content is static so there is no use for a refresh anyway.
Thank you for App-UI and thanks in advance for the helping hand.