none
Drill down listbox with several detail views for windows phone

    General discussion

  • Drill down listbox with several detail views for windows phone
    Other possible TITLES for this Discussion (Just in case I call it an apple and others call it an orange): Navigation with progressive horizontal pages - Navigation with hierarchical levels - Navigation with drill down

    I have been looking for this for a long time and I see several other developers looking for the same thing.

    What I REALLY need is an EXAMPLE 1 for Windows Phone, The EXAMPLE loads a local (PLIST) XML file [compose of a dictionary with array's and dictionary's inside of each other] which it uses to display a LISTBOX (Prefer a NAVIGATIONLIST from Example 3), It loads the Node KEY "Title" as the possible selection items, When you make your selection it looks for the Node KEY "View" if not found, it reloads the PAGE and displays the next level Node KEY "Title" value. Each Array can hold an uncertain number of dictionary's and each dictionary can hold an uncertain number of array's with the final level depending on the Node Key "View" value displaying a different detail view with an uncertain amount of items to display.

    *** Example of Levels (LOCATION): Country - State - County - Cities - Miami
    *** Example of Lists in a Level (CITIES): Miami - Seattle - Atlanta - New York - Las Vegas - Hollywood
    *** Example of items in detail view (CONTACT): First Name - Last Name - Email - Phone - Website

    *** Different approaches that I can think of: *****

    1 - A dynamic listbox which instantly updates - EXAMPLE 11 - EXAMPLE 10 - EXAMPLE 9

    2 - A navigationlist that navigate to other navigationlist and use global objects as datacontent - EXAMPLE 3 - EXAMPLE 8

    3 - A navigationlist that navigates to the SAME xaml page with a switch or if else statement decision setup - EXAMPLE 6 - EXAMPLE 7

    4 - Ofcourse any combination or all of the above

    *** Issues of interest: *****

    1 - the method to drill down the XML nodes - EXAMPLE 7 - switch or if else statements

    2 - the method to drill down both local or remote (HTTP) xml files while the application running: EXAMPLE ---
    load a local XML file - show a possible option like COUNTRY and select (USA), drill down to a list of STATE and select (FLORIDA),
    drill down to a list of CITY and select (MIAMI), which loads a remote XML file and displays possible options and select (EVENTS),
    drill down to ANNUAL, drill down to THANKSGIVING, select a possible option like MACY's PARADE, which
    shows the details for the MACY's PARADE such as date, location and website

    3 - the method to control the drill down such as reload/refresh/dynamically change the listbox upon
    selection to the next node down or navigate to the same page or maybe PAGE 1 navigate to PAGE 2 and PAGE 2 navigate to PAGE 1 upon selection

    **** XML EXAMPLE LAYOUT ***** Open Notepad - Paste XML EXAMPLE LAYOUT - Save AS extension ".XML" with encoding UTF-8 ******************************************************************************************************

    <xml version="1.0"><dict><key>Rows</key><array><dict><key>Title</key><string>Country</string><key>Children</key><array><dict><key>Title</key><string>State</string><key>Children</key><array><dict><key>Title</key><string>County</string><key>Children</key><array><dict><key>Title</key><string>City</string><key>Children</key><array><dict><key>Title</key><string>Miami</string><key>View</key><string>1</string><key>Population</key><string>2 Million</string><key>Temperature</key><string>70</string><key>Radio Stations</key><string>15</string><key>Universities</key><string>13</string><key>Colleges</key><string>2</string></dict></array></dict></array></dict></array></dict></array></dict><dict><key>Title</key><string>City</string><key>Children</key><array><dict><key>Title</key><string>Miami</string><key>Children</key><array><dict><key>Title</key><string>Public Radio Stations</string><key>Children</key><array><dict><key>Title</key><string>Classic</string><key>View</key><string>6</string><key>Station</key><string>88.9 FM</string><key>CallSign</key><string>WDNA</string><key>Stream</key><string>http://war.str3am.com:7990</string></dict></array></dict></array></dict></array></dict><dict><key>Title</key><string>Information</string><key>Children</key><array><dict><key>Title</key><string>Airlines</string><key>Children</key><array><dict><key>Title</key><string>American Airlines</string><key>View</key><string>2</string><key>Reservations</key><string>800-433-7300</string><key>Customer Service</key><string>800-223-5436</string><key>Website</key><string>www.aa.com</string></dict></array></dict></array></dict></array></dict></xml>


    **** Example List: *****

    EXAMPLE 1 - EXACTLY what im looking for but on IOS, need this for the windows phone

    http://www.iphonesdkarticles.com/2009/03/drill-down-table-view-with-detail-view.html

    EXAMPLE 2 - How to handle a PLIST file in windows phone like a XML

    http://stackoverflow.com/questions/6909332/notsupportedexception-when-trying-to-parse-plist-document

    EXAMPLE 3 - NavigationList or Listbox possibility maybe not sure recommendations please for THIS PROJECT basis

    http://www.scottlogic.co.uk/blog/colin/2011/04/a-fast-loading-windows-phone-7-navigationlist-control/

    EXAMPLE 4 - Basic idea to what i need but needs to go several levels down but depending on selection a variety of levels down and with a variety of different detail views and hopefully reload the next level on the same page by refreshing the binding listbox (Navigationlist prefer)

    http://www.windowsphonegeek.com/articles/WP7-Master---Detail-Navigation-with-Repository-Pattern

    EXAMPLE 5 - reading a local xml file

    http://www.windowsphonegeek.com/tips/wp7-working-with-xml-reading-filtering-and-databinding

    EXAMPLE 6 - being to reload the same xaml page to refresh the binding listbox with the next level down child node from the xml

    http://blogs.ugidotnet.org/corrado/archive/2011/08/07/navigating-to-the-same-page-in-windows-phone-7.aspx

    EXAMPLE 7 - How to implement EXAMPLE 1 (tableView:didSelectRowAtIndexPath) possibility maybe not sure recommendations please

    http://stackoverflow.com/questions/4000400/windows-phone-7-recommended-menu-control

    EXAMPLE 8 - For tombstone and memory issues possible data passing methods to consider in case page to page is the only possible way instead of being about to refresh current page

    http://nishantcop.blogspot.com/2011/08/passing-data-between-pages-in-windows.html

    EXAMPLE 9 - Dynamically changing listbox items

    http://stackoverflow.com/questions/5358495/windows-phone-7-making-listbox-items-change-dynamically

    EXAMPLE 10 - Dynamically changing the SOURCE of data template

    http://stackoverflow.com/questions/5943965/dynamically-updating-the-source-of-a-datatemplate

    EXAMPLE 11 - DIRECTLY data bind the listbox

    http://forums.create.msdn.com/forums/t/73562.aspx

    Friday, October 28, 2011 8:44 PM