Hi,
In my WP8.1 RT project, I am trying to implement a listview that displays a list of countries. (For now) I have a three page setup: P1 has a hyperlink button that takes you to P2, that has a listview (with which I'd be binding the list of all countries), which, when selected, takes you to p3, that has it's own stuffs going on there. I would like your help in determining a few things..
1. Is it ok to have the list of the counties hard-coded (i know it is exhausting to even think of it) to the listview, for an app that has a very minimal use (say a social networking stuff)?
2. If not, do you prefer I have the names of the countries in a Model (MVVM setup), say in a .cs file, and have that exposed to the XAML? - This Ive tried and has worked, but not very well.
3. If not that also, do you prefer I have them listed in an XML file and parse through them? - This, I haven't tried, and would need some guidance.
4. What'd be the convenient way of accomplishing this: p1 (hyperlink button) -> p2 (shows a list of countries; makes a selection) -> P3 (it's own stuffs)?
Oh, another thing: The reason I need the listview is because I need to implement the semantic zoom feature to display the countries.
Thank you for your help in advance :)