Improving app performance
Let's look at a few ways we can improve application performance. Mobile phones do not have desktop processors, users typically run your application an older devices, meaning the performance power maybe be lacking. This is why we must test applications on older and newer devices to compare the performance difference and any API/OS changes that may effect behavior.
Tip
Running applications on simulators can give different results when running on devices. Make sure you always test on physical devices before releasing.
Let's take a look at the MainPage.xaml
page from the Locator
project. Here we will make small tweaks in the XAML layout to slightly improve the performance. The changes are very minor and will only improve performance by a millisecond here and there, but when you combine 100s of these small improvements, the end result will make a difference.
We can see a Grid with three elements inside, now why did we pick a Grid? Grids are good for views which we use to...