LongListSelector automatically at bottom
-
22-12-2019 - |
Question
So I'm getting a weird behavior with the native LongListSelector from WP8.
It's ItemSource is bound to an
ObservableCollection<Group<Something>>
Everything is displayed correctly, but when the list appears on screen, I'm at the bottom of the list instead of it's top.
The only thing I do is to fill the ObservableCollection via it's Add() Method.
Is this a known behavior or is there a workaround ?
Solution
It is a normal behaviour as you are adding items one-by-one. for required behaviour kindly feed the list and then set it to observable collection
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow