Hey there,
I'm working on a messaging module that groups messages into date "categories," similar to something that you would find in Outlook Express (Today, Yesterday, Last Week etc...).
The ListView works wonderfully with a grouped dataSource, but I'm having trouble putting it all together with a loadMore button. When the button is pressed the older messages are loaded just fine, but a new ListView header template is being rendered for the new items, even if they are within the same grouping as the previous items. This results in potentially having multiple headers for each grouping, defeating the purpose of the grouped data in the first place.
Is there any way I can work around this and have the ListView items group themselves properly after pressing the loadMore button?
Thanks for any advice you can give!
- Erik
I'm working on a messaging module that groups messages into date "categories," similar to something that you would find in Outlook Express (Today, Yesterday, Last Week etc...).
The ListView works wonderfully with a grouped dataSource, but I'm having trouble putting it all together with a loadMore button. When the button is pressed the older messages are loaded just fine, but a new ListView header template is being rendered for the new items, even if they are within the same grouping as the previous items. This results in potentially having multiple headers for each grouping, defeating the purpose of the grouped data in the first place.
Is there any way I can work around this and have the ListView items group themselves properly after pressing the loadMore button?
Thanks for any advice you can give!
- Erik