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 -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -