You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Scenario 1
On the root page I call
await Shell.Current.GoToAsync("/Page1", false);
I make some changes save the data press the backbutton, reload the root page and all the data is updated, just as I would expect.
Scenario 2
On the root page I call
await Shell.Current.GoToAsync("/Page1", false);
I make some changes, save the data then I make this call: await Shell.Current.GoToAsync("/Page2", false);
Now I press the back button and it takes me to Page1, then I press the back button again and it takes me to the root page.
I reload the root page. But the data does not update.
I have tried this on multiple Android devices.
I am curious if someone may know what I am doing wrong or what the issue would be? Literally the only difference is I add another page to the stack, then press the back button twice.
I can put a break point on the collection...I can see that the data is indeed updated....but it does not update on the view. Again this only happens with two or more pages.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So I have an Xamarin Shell application. This is ONLY happening on Android in iOS it works perfect.
I have registered routes in App.Xaml
Routing.RegisterRoute("Page1", typeof(Page1View));
Routing.RegisterRoute("Page2", typeof(Page2View));
Scenario 1
On the root page I call
await Shell.Current.GoToAsync("/Page1", false);
I make some changes save the data press the backbutton, reload the root page and all the data is updated, just as I would expect.
Scenario 2
On the root page I call
await Shell.Current.GoToAsync("/Page1", false);
I make some changes, save the data then I make this call: await Shell.Current.GoToAsync("/Page2", false);
Now I press the back button and it takes me to Page1, then I press the back button again and it takes me to the root page.
I reload the root page. But the data does not update.
I have tried this on multiple Android devices.
I am curious if someone may know what I am doing wrong or what the issue would be? Literally the only difference is I add another page to the stack, then press the back button twice.
I can put a break point on the collection...I can see that the data is indeed updated....but it does not update on the view. Again this only happens with two or more pages.
Beta Was this translation helpful? Give feedback.
All reactions