1. Download our Official Android App: Forums for Android!

Apps Handling sub menus from a Listview?

Discussion in 'Android Development' started by Orby, Mar 23, 2011.

  1. Orby

    Orby Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Mar 23, 2011

    Mar 23, 2011
    3
    0
    5
    Hi All,
    I'm very new to Android and need some help with an App i'm developing. I have 4 arrays defined in an XML File in the res/values folder of my project in Eclipse. The first array is contains 3 items which is displayed in a ListView as part of my Main Menu which is a ListActivity.

    For each item displayed in the main menu i would like to display a sub menu depending on which item the user selects. Each sub menu will correspond to one of the other arrays in my XML File and will need to allow the user to select multiple items and return the selected items.

    Just wondering if a need to create a separate activity for each sub menu? How can i handle the selection of multiple items and pass them back to the main class??

    Thanks in advance.
     

    Advertisement

Share This Page

Loading...