windows phone 7 - Difference in LoadingPivotItem and SelectionChanged -


i have 4 pivotitems in pivot. i'm loading data in each pivotitem when comes view. i'm using pivot.selectionchanged event, so:

private void pivotselectionchanged(object sender, selectionchangedeventargs e) { switch(mypivot.selectedindex) { case 0: //load items pivotitem 0 ....... ....... } }   

however, see there loadingpivotitem event, can used in similar way.
difference between these 2 methods? 1 more efficient other?

loadingpivotitem means can manipulate content before displayed. additional information here => loadingpivot


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -