I wanted to check what possible solutions are known to counter a stupid behavior the new WP8 LongListSelector (LLS) has!
A page with a grouped LongListSelector that is being filled through an ObservableCollection on a ViewModel ( so MVVM is in effect - mvvm light )
The WP8 LLS behavior that is different from WP7, is that it will jump to the last item added... so in my app, when the list is full, the user will see the 'bottom' of the list! Because it's the last added item.
What I want:
Of course because the LLS is grouped and sorted, I want the user to have a nice view from the top! In other words we need to reposition the LLS after it has been loaded, from the bottom to the top!
My current solution ( and hence my question, because I want to know if someone has anything better ): when the loading is done in the ViewModel, I send a NotificationMessage with MVVM messaging to the View. In the View upon receiving this NotificationMessage I put following code:
So why I hate this solution, because of the fact that I need to send an extra notification to the view!