[android-developers] Re: CursorAdapter question

2009-10-28 Thread Mark Murphy
> CursorAdapter is great, i'm a big fan. > > i notice that both newView() and bindView() are passed Cursors, > indicating that extracting stuff from the Cursor and sticking it in > the view should happen inside those overrides. Actually, newView() should just create the empty views, so bindView()

[android-developers] Re: CursorAdapter question

2009-07-30 Thread skink
On Jul 31, 12:07 am, Mark Murphy wrote: > skink wrote: > > i'd like to use CursorAdapter but Cursor its based on cannot be > > returned by simple sql query, since in db i have two fields and based > > on some criteria they build the String that would be displayed in the > > ListView. > > > what

[android-developers] Re: CursorAdapter question

2009-07-30 Thread Mark Murphy
skink wrote: > i'd like to use CursorAdapter but Cursor its based on cannot be > returned by simple sql query, since in db i have two fields and based > on some criteria they build the String that would be displayed in the > ListView. > > what is the best solution: forget CursorAdapter and use Ar