locked
WinJS list view templating function being called every time RRS feed

  • Question

  • Hi all,

    I have a list view with grid layout. The requirement is that in landscape view the max number of rows is 3 and in Portrait mode the maximum number of rows should be 6. I am able to achieve this by setting the "max rows" property.

    The list view template is a function (javascript) that creates the template for each item in item list. What I observed is that when the user moves from landscape to portrait this templating function is called.

    Is this correct behavior ?  does the template get re loaded every time the orientation is changed ? Is there any way I can avoid this (i.e.: Reloading of template on orientation change after the items have been loaded once).

    Due to this behavior When the orientation is changed, the user sees a screen flickering. Is there any way I can introduce a more pleasing transition than the normal flickering. What are the options I have ?

    I just want the user to have a pleasing experience rather than flickering. I have around 72 - 80 items in my list.

    Any suggestions should be helpful

    - Girija

    Friday, December 14, 2012 4:42 AM

Answers

  • Hi ,

    I guess that is how it is by design

    - Girija


    Tuesday, March 19, 2013 9:50 PM

All replies