Interesting solution thanks , and I've kind of got it working very quickly. Unfortunately the headers are still clickable when visible (as they're part of a list item), so it's not as clean a solution as the MergeAdapter - if I can get that working!
On Nov 15, 3:10 pm, Thierry Legras <[email protected]> wrote: > Hi, > > I found something that highlights Kostya solution including a trick to avoir > header to appear selected: > > http://thebogles.com/blog/2010/02/section-headers-for-android-listviews/ > > This seems straightforward to follow ... except that i can't get previous > record. Unfortunately the isHeaderVisible(Cursor) method is not given :( > I tried to use Cursor.moveToPrevious(), but that crashes on subsequent > setViewValue call. I guessed I should not modify cursor within > setViewValue() and try to restore cursor position before leaving the method, > but that still crashes. > Any clue? > > Thierry. > > 2010/11/15 Neilz <[email protected]> -- 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

