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

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

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

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