I have a project that requires me to ask the user's country and phone number. The phone number part is working fine. By itself, the country part is also working fine. Considering this a 2-page project, I have a ListView in Page2.xaml that displays a list of all countries (data bound to a .cs file (class file) that has my ViewModel). In Page1.xaml, I have a textblock (and a textbox for phone number which we don't need to worry about) whose tapped property navigates to Page2 (and displays the list of country). I would like to know:
1. How I can take the selected item from the list (that is in Page2) and display it in the textblock (in Page1).
2. If there is a 1-page way to implement this, that is, if I can show the listview itself with something like a PlaceholderText (that says Select your Country) and when it is clicked, it opens the entire list of country. This is something similar to signing up for WhatsApp or Line, or services of that sort.
Your response is appreciated.