title: Multi Level Navigation Tree Using ListView to ListView Selection
body: <p>I've searched other questions on the site and cant find a clear answer so I thought Id ask directly. I apologise if you feel there is repetition somewhere else.</p>
  
  <p>I'm developing an app with 3 or 4 levels of navigation through List Views within Fragments under a Navigation Drawer Activity. In essence the development is going well but I need to avoid creating so many classes to handle each list Item to new list View transaction.</p>
  
  <p>I guess I need to construct a master Array which will hold Arrays to populate the new List Views upon item selected. Ultimately, I need the list View templates to be populated by the correct information whatever is selected through the 3 or so levels until the final item detail is displayed.</p>
  
  <p>How do I construct the arrays I need for the project(these are just text arrays until the detail page)?</p>
  
  <pre><code>&lt;string-array name="All Arrays"&gt; (syntax for this is unknown to me)
     &lt;item&gt;Array 1&lt;/item&gt;
     &lt;item&gt;Array 2&lt;/item&gt;
     &lt;item&gt;etc etc&lt;/item&gt;
  </code></pre>
  
  <p>How to I call on each Array to populate a new list on Item Selection down through the navigation levels?</p>
  
  <pre><code>Array 1 selected from list - 
       populate list 2 from Array 1. -&gt;   
  then 
  Array 1, Sub List 1 selected - 
       populate list 3 from Array 1, Sub List 1
  then 
  Array 1, Sub List 1, item 1 selected - populate detail page with item image         + text.
  </code></pre>
  
  <p>I would like to be aware of the most efficient way of achieving this without unnecessary repetition in code and XML. If possible and if you can help me achieve it I will be very grateful.</p>
  
  <p>Thank you, Jason </p>