1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

Creating Expandable List from Database


Last Updated:

  1. wiltaf

    wiltaf New Member This Topic's Starter

    Joined:
    Sep 1, 2010
    Messages:
    2
    Likes Received:
    0
    Hello Everyone,

    I need a bit of advice on how to implement an expandable list from a database query. If someone could provide the steps required, I would appreciate it. Here is the problem description:

    I have a table that contains a list of cities. Each city has fields (population, state, etc..)

    I would like to create and expandable list looks like this:

    > Cities (A-C)
    Austin
    Boston
    .
    .
    Chicago
    > Cities (D-H)
    Dallas
    Denver
    .
    .
    > Cities (I-K)
    etc....

    Can someone provide some guidance into how I would query a database and then place those results into an expandable list with a specific organization?

    Thanks,
    Jake
     

    Advertisement

Share This Page

Loading...