I have a list of objects that i bind to a ListView on a NavigationPage
Heres the View:
<ListView HasUnevenRows="true" x:Name="note_list" HorizontalOptions="FillAndExpand" HeightRequest="50" ItemSelected="note_clicked">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout Margin="10, 0, 0, 0" HorizontalOptions="FillAndExpand" Orientation="Vertical" VerticalOptions="Fill">
<StackLayout Margin="10 ,10, 10, 0" Orientation="Horizontal" HorizontalOptions="FillAndExpand">
<Image IsVisible="{Binding responseRequired, Mode=TwoWay}" Source="icons/blue/warning" WidthRequest="20" HorizontalOptions="Start" Margin="0, 0, 0, 0"></Image>
<Label HorizontalOptions="Start" Margin="0, 0, 0, 0" FontSize="18" VerticalOptions="CenterAndExpand" Text="{Binding userId , Mode=TwoWay}"></Label>
<Label HorizontalTextAlignment="End" VerticalOptions="Center" HorizontalOptions="EndAndExpand" TextColor="#c1c1c1" FontSize="14" Text="{Binding daysFromPost , Mode=TwoWay}"></Label>
</StackLayout>
<StackLayout HorizontalOptions="Fill" Orientation="Vertical" Margin="10, -5, 10, 10">
<StackLayout HorizontalOptions="StartAndExpand" Orientation="Horizontal" Margin="0, -2, 0, 0">
<Label FontSize="14" TextColor="#c1c1c1" Text="to: "></Label>
<Label HorizontalOptions="StartAndExpand" FontSize="14" TextColor="#c1c1c1" Text="{Binding noteToo, Mode=TwoWay}"></Label>
</StackLayout>
<Label FontSize="14" TextColor="Gray" Text="{Binding note, Mode=TwoWay}"></Label>
</StackLayout>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
Imagine when I click on a Log, it goes to another Page with the Log details, and options to alter that Log. Using MVVM method of binding changes to the Model View, I save the changes then pop the details navigation page. But when the list of Logs shows back up the changes are not visible until the Page is reloaded for some reason. Shouldn't Two Way Binding cause the changes to be pushed to the View? Or am I left reloading the Model View manually by overriding OnAppering()?