Cannot get the selectionchanged item correctly

Jul 24, 2012 at 8:06 AM

Hi all,

I am new  SimpleMVVM for windows phone.

I have created the properties in the base model, they are the itemsource and the selecteditem I have also bind the value to a ListPicker in the view.

But after insert the event trigger function


 

<i:Interaction.Triggers>� � � � � � � � � �

<i:EventTrigger EventName="SelectionChanged">� � � � � � � � � � � �

<ei:CallMethodAction TargetObject="{Binding}" MethodName="ResetLocale" />� � � � � � � � � � </i:EventTrigger>� � � � � � � �

</i:Interaction.Triggers> � �

 


When the selectionchanged event was triggered, it always return the previous selecteditem, 

I found the selectionchanged event fired first before the current selecteditem change to the base model.

Please help.

Kit