I have a sqlite database in my application. I want to make an expandable list view with that.
I am fixed with the approach I should take for that.
Tried a lot to find a tutorial for the same, but could not find a single one, where one is populating the Expandable list with the local database.
There is this one tutorial in the android site where they are filling the expandable list with the Contact detail in the phone. They are doing this from the content provider ExpandableList2.java
So my question is should I also create a content provider for my database which is inside my own application ?
Is this the only approach or is there any other better one?