I'm evaluating the WP7-controls collection and everything's been real smooth so far.
Rough structure of the problem area:
When navigating to page, no grouping is applied. When one of the radiobuttons is selected, pickerbox gets hidden and new grouping is created based on the selection. One of these radiobuttons is for clearing any grouping applied to the list.
When i clear the GroupDescriptors-collection with something like this:
Everything seems to be working ok, when the pickerbox closes there's no group header visible. Now, if i scroll the jumplist down a bit and then back up - group headers reappear from somewhere :-)
Any ideas what's going on here? I can provide more code samples if required.
More informational tidbits: I tested this with a set of data that had only single group header. Same behavior there. Additionally, i noticed that when the problem is current (groupings have reappeared) tapping a group header opens the group picker, but there's nothing to select. Just the partially transparent layer on top of the page.
More testing, this time with actually looking at the rendered data :-) When the problem is current, data appears twice: Beginning of JumpList contains items in groups followed by non-grouped items.
JumpList was bound to a CollectionViewSource. I changed the itemssource to an ObservableCollection and that seems to solve this problem.
If i wouldn't have opened this thread, i probably would've spend the night banging my head against the proverbial wall :-) It usually takes about five minutes for you to discover you've tried to do something stupid after you finally go and ask about dev problem in the 'nets...