File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Android database requests,Cursor or List : For Marko Gargenta Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Android database requests,Cursor or List : For Marko Gargenta " Watch "Android database requests,Cursor or List : For Marko Gargenta " New topic
Author

Android database requests,Cursor or List : For Marko Gargenta

Mehdi Ben Larbi
Ranch Hand

Joined: Aug 17, 2010
Posts: 70
Welcome Marko,

It's a pleasure to have you here.
I need to fill an ExpandableListView from a database.
I want to know if it's better to use directly a Cursor by extending CursorTreeAdapter or if i should put all of the results in a list and extend a BaseAdapter in terms of performance and efficiency ?

Are we limited with only one question btw ?

Thanks in advance.


SCJP 93 % ,preparing for SCWCD
 
IntelliJ Java IDE
 
subject: Android database requests,Cursor or List : For Marko Gargenta
 
Threads others viewed
Integer vs. String
Filters
scjp without scja
* Welcome Marko Gargenta
literal mode ?
jQuery in Action, 2nd edition

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture