vendredi 5 février 2016

Three level ListView/ExpandableListView from a sqlite database

I have in my sqlite database a table of categories, a table of items, and a table of sub-items. Ideally, I would like the listview to look like the following:

category 1
  item 1
  item 2
    sub-item 1
    sub-item 2
  item 3
category 2
....and so on

It would also be nice to have sub-items expandable; not necessary to expand categories. Everything I have found thus far indicates that this is not currently possible in Android. I'm just wondering if anyone knows for sure whether this is possible or not before I give it up.

Aucun commentaire:

Enregistrer un commentaire