How to pass data to the previous page using PopAsync?
17
Consider the following scenario:
- User is on some Page 1
- He clicks button that moves him to Page 2 (calling await Navigation.PushAsync(new SomePage()); )
- After finishing certain action, he clicks "OK" button
- After clicking "OK", app calls PopAsync to move to Page 1 and sends there some data (result of activity on Page 2).
How can I receive data from Page 2 in Page 1?