Aw: Re: [android-developers] Aw: Object Structure

2011-06-18 Thread jjoe64
yes. if you do a query on your content provider (though listview/adapter or manually with content resolver), it returns only a cursor (pointer) to the data, that's the reason why the memory space is saved and performance will increase. -- You received this message because you are subscribed to

Aw: Re: [android-developers] Aw: Object Structure

2011-06-17 Thread jjoe64
oh that's really bad practice. your listview has to use a listadapter (e.g. ResourceCursorAdapter) that adapter connects your content provider and there you can perform SQL queries to read the data from db. first it looks a little bit complicated but you should really use this, not only for perf