JOIN the header and detail tables in single query. On Jul 31, 1:11 pm, William Ferguson <william.ferguson...@gmail.com> wrote: > Sorry Mark, not sure what you mean. > > I was using a nested ListView because for each instanve of the outer > list item there will be one or more instances of the inner. > In the example I am using the outer is Contact, and the inner is > RawContact. > > When you say "stitch them together at the adapter level", do you mean > implement my own CursorAdapter that amalgamates 2 or more cursors? > How in my CursorAdapter implementation might I represent one or more > rows of the inner query other than using a ListVIew? > > Eg from example given above. > > Contact-1, Contact1-Name > RawContact-1-a > RawContact-1-b > Contact-2, Contact1-Name > RawContact-2-z > > On Jul 31, 10:46 am, Mark Murphy <mmur...@commonsware.com> wrote: > > > > > On Fri, Jul 30, 2010 at 8:36 PM, William Ferguson > > > <william.ferguson...@gmail.com> wrote: > > > I have a ListView that contains several elements, one of which is > > > another ListView. > > > I'll be stunned if that works. Why nest ListViews? If your issue is > > that you have multiple sources of data, stitch them together at the > > adapter level. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > _Android Programming Tutorials_ Version 2.9 Available!- Hide quoted text - > > - Show quoted text -
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en