Knowing it's possible is enough for me to go on and start digging. :) Will post back if I figure it out!
On Fri, Jul 30, 2010 at 2:32 PM, Mark Murphy <[email protected]>wrote: > On Fri, Jul 30, 2010 at 2:29 PM, Connick <[email protected]> wrote: > > Requirement: Display query results in a list with a header view atop each > > group. (results grouped from database) > > Looking at Mark's MergeAdapter. Wondering if I might be able to use a > single > > cursor and have each adapter filter on the group field? That a viable > > approach? > > I suspect that would be troublesome, since Cursor objects know their > position, and you'd need the position to be constantly jumping around. > > You can do headings with a single Cursor -- my sleep-deprived brain > has a couple of ideas, none I'm in position to flesh out right this > moment -- but you'd need to take a substantially different approach > than does the MergeAdapter. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 2.9 Available! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

