ListBox item recycling for large lists
Posted: 18 Dec 2013, 05:14
Hi guys, great tool
After banging my head due to performance issues with " the other guys' " Unity GUI solutions, I stumbled across this and figured I'd check it out. My biggest problems with any of the solutions is the slowness, and amount of memory chew used by lists with several hundred (potentially thousands of) complex child items. Especially on mobile devices.
I finally got NeosisGUI up and running, and after familiarizing myself with the docs, and doing some research on WPF as a whole, I finally had enough information to begin designing a test.
I created a StackPanel, and added a ListBox as a child. I found a ListBox property called VirtualizingStackPanel.VirtualizationMode that is supposed to recycle child views, however NeosisGUI complains that it is an unknown property. I've also tried VirtualizingPanel.VirtualizationMode, and get the same response.
I understand that this is not a complete 1:1 port of the WPF framework, and get that there are some unimplemented features.
Are you guys using some other solution for recycling ListBox children, instead? I looked through the API, and nothing popped out at me for this functionality. I would hate to have to roll my own recycling mechanism, as I've already written a really good one with another GUI solution, but they are using OnGUI; I'm trying to get as far away from OnGUI as I can!
Increasing list performance by recycling is a huge deal for any application, and it's great to see that there is such a robust system for this in WPF (with data binding, and all of that). I'd love to see this feature implemented before I can take the dive and give you all of my money
Thanks in advance for your response.
After banging my head due to performance issues with " the other guys' " Unity GUI solutions, I stumbled across this and figured I'd check it out. My biggest problems with any of the solutions is the slowness, and amount of memory chew used by lists with several hundred (potentially thousands of) complex child items. Especially on mobile devices.
I finally got NeosisGUI up and running, and after familiarizing myself with the docs, and doing some research on WPF as a whole, I finally had enough information to begin designing a test.
I created a StackPanel, and added a ListBox as a child. I found a ListBox property called VirtualizingStackPanel.VirtualizationMode that is supposed to recycle child views, however NeosisGUI complains that it is an unknown property. I've also tried VirtualizingPanel.VirtualizationMode, and get the same response.
I understand that this is not a complete 1:1 port of the WPF framework, and get that there are some unimplemented features.
Are you guys using some other solution for recycling ListBox children, instead? I looked through the API, and nothing popped out at me for this functionality. I would hate to have to roll my own recycling mechanism, as I've already written a really good one with another GUI solution, but they are using OnGUI; I'm trying to get as far away from OnGUI as I can!
Increasing list performance by recycling is a huge deal for any application, and it's great to see that there is such a robust system for this in WPF (with data binding, and all of that). I'd love to see this feature implemented before I can take the dive and give you all of my money
Thanks in advance for your response.