DZone
Mobile Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Mobile Zone > Windows Phone Performance Tips: Beware the PivotItems

Windows Phone Performance Tips: Beware the PivotItems

Mikael Koskinen user avatar by
Mikael Koskinen
·
Jan. 30, 12 · Mobile Zone · Interview
Like (0)
Save
Tweet
3.97K Views

Join the DZone community and get the full member experience.

Join For Free

Most of the WP7 applications use either the Panorama or the Pivot controls. It seems that you can solve most of the UI requirements by just using these two controls. But, some care should be taken. The pivot control at a first glance may look like a perfect solution for apps where the content must be split across hundreds of small views (think book, where each page is presented by a pivot item).

But beware: the PivotControl is a memory hog. An app with 150 empty PivotItems uses over 55MBs of memory. After adding the pivot items, there’s not much of memory left to add the actual content, when the memory limit of 90MB is kept in mind.

PanoramaControl fares much better in a similar test: An app with 150 empty PanoramaItems use only 21MBs of memory.

Source:  http://mikaelkoskinen.net/post/wp7-performance-tip-beware-pivotitems.aspx

Windows Phone

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Data Mesh — Graduating Your Data to Next Level
  • Build a Data Pipeline on AWS With Kafka, Kafka Connect, and DynamoDB
  • Python 101: Equality vs. Identity
  • NextJS Vs React: Key Differences, Advantages and Limitations

Comments

Mobile Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo