Xamarin.forms How to update content and content?

I have a ContentView in CarouselPage . I am going to ConentPage from ContentView . Update ContentPage and return to ContentView .

Now, in this note, my ContentView not updated.

Also, if I change the text in the entry in the ContentView and go to ContentPage and go back, my change in the entry will be deleted.

So, is there any mechanism for it to be updated when it returns to the ContentView ?

I tried using the OnAppearing() method in the ContentView , but it shows an error like ContentView does not contain definition for OnAppearing() .

Thanks.:)

+6
source share

Source: https://habr.com/ru/post/1011592/


All Articles