Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to navigate fast when UI has many elements?

I'm developing a Windows Phone 7 app. In my main page, there is a pivot which has 6 PivotItem. In each of these PivotItems are a ListBox which has many texts and images.

When I navigate from main page to Page 1, it takes very long time (about 5-8s). The heavier UI on main page, the longer it takes.

I cannot reduce the elements on main page, so what is the advice to go to Page 1 fast ?

like image 696
onmyway133 Avatar asked Nov 13 '22 15:11

onmyway133


1 Answers

Collapse the root element of pivot items that are not currently visible, and make them visible when they are brought into view. Most likely you are keeping the UI thread arranging and drawing UI elements that are not visible.

This will allow you to monitor memory and graphics performance

Application.Current.Host.Settings.EnableFrameRateCounter = true;

How to interpret FrameRateCounter

like image 51
kindasimple Avatar answered Nov 15 '22 12:11

kindasimple