Click here to Skip to main content
15,904,156 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Thought of the Day - Continued Pin
HobbyProggy13-May-15 4:40
professionalHobbyProggy13-May-15 4:40 
GeneralRe: Thought of the Day - Continued Pin
jeron113-May-15 4:22
jeron113-May-15 4:22 
GeneralRe: Thought of the Day - Continued Pin
Kevin Marois13-May-15 4:23
professionalKevin Marois13-May-15 4:23 
GeneralRe: Thought of the Day - Continued Pin
HobbyProggy13-May-15 4:41
professionalHobbyProggy13-May-15 4:41 
General(Alternative) Thought of the Day Pin
Sascha Lefèvre13-May-15 3:19
professionalSascha Lefèvre13-May-15 3:19 
GeneralRe: (Alternative) Thought of the Day Pin
HobbyProggy13-May-15 3:49
professionalHobbyProggy13-May-15 3:49 
GeneralRe: (Alternative) Thought of the Day Pin
CDP180213-May-15 3:52
CDP180213-May-15 3:52 
QuestionImplementation of Listview to display a list of counties. Pin
Member 1152650813-May-15 2:49
Member 1152650813-May-15 2:49 
Hi,

Sorry to be bothering you with this rudimentary question, but I am fairly new in programming, so seeking some help in this.

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 Smile | :)
AnswerRe: Implementation of Listview to display a list of counties. Pin
Jacquers13-May-15 2:52
Jacquers13-May-15 2:52 
AnswerRe: Implementation of Listview to display a list of counties. Pin
JimmyRopes13-May-15 2:58
professionalJimmyRopes13-May-15 2:58 
AnswerRe: Implementation of Listview to display a list of counties. Pin
Richard MacCutchan13-May-15 3:02
mveRichard MacCutchan13-May-15 3:02 
AnswerRe: Implementation of Listview to display a list of counties. Pin
User 483504713-May-15 3:33
User 483504713-May-15 3:33 
GeneralRe: Implementation of Listview to display a list of counties. Pin
Sascha Lefèvre13-May-15 3:40
professionalSascha Lefèvre13-May-15 3:40 
GeneralRe: Implementation of Listview to display a list of counties. Pin
chriselst13-May-15 3:45
professionalchriselst13-May-15 3:45 
GeneralRe: Implementation of Listview to display a list of counties. Pin
F-ES Sitecore13-May-15 3:48
professionalF-ES Sitecore13-May-15 3:48 
GeneralRe: Implementation of Listview to display a list of counties. Pin
P0mpeyBoy13-May-15 4:10
P0mpeyBoy13-May-15 4:10 
GeneralRe: Implementation of Listview to display a list of counties. Pin
chriselst13-May-15 4:12
professionalchriselst13-May-15 4:12 
GeneralRe: Implementation of Listview to display a list of counties. Pin
Phil J Pearson13-May-15 6:12
Phil J Pearson13-May-15 6:12 
AnswerRe: Implementation of Listview to display a list of counties. Pin
TheGreatAndPowerfulOz13-May-15 5:14
TheGreatAndPowerfulOz13-May-15 5:14 
GeneralWSO CCC May 13 PinPopular
Agent__00712-May-15 23:43
professionalAgent__00712-May-15 23:43 
GeneralRe: WSO CCC May 13 Pin
Nagy Vilmos12-May-15 23:46
professionalNagy Vilmos12-May-15 23:46 
GeneralRe: WSO CCC May 13 Pin
Agent__00712-May-15 23:48
professionalAgent__00712-May-15 23:48 
GeneralRe: WSO CCC May 13 Pin
Nagy Vilmos12-May-15 23:49
professionalNagy Vilmos12-May-15 23:49 
GeneralRe: WSO CCC May 13 Pin
super13-May-15 0:13
professionalsuper13-May-15 0:13 
GeneralRe: WSO CCC May 13 Pin
Agent__00713-May-15 0:24
professionalAgent__00713-May-15 0:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.