can't find why the binding won't work upward of one item #243
Replies: 2 comments 1 reply
-
What's the size of the ListView along its auto layout axis? Because ListViews are virtualized, they'll only create list items until the viewport is full. If there isn't enough space within the ListView bounds for all the items, they won't all be pulled into view. If that's not what's going on here, mind sharing a screenshot of the ListView Size/AutoLayout configurations? Those might have some additional useful bits of information for us to help troubleshoot. |
Beta Was this translation helpful? Give feedback.
-
that was exactly what was going on. that a really good one to know. I was searching the code for hours for something so simple. Is there any way to debug the nova part of this? To know what has been loaded, should be loaded and what it can "Show" in the available space. It might be useful for dev using Nova. anyway. thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Just for context, I spent the last month refactoring some code, although this part hasn't been touched.
I have a few listview that are linked to ObservableCollection in my UI. Most of them actually work just fine and I haven't touched this part of the code at all in my refactor (mainly moving stuff into separate assemblies)
I though I did something wrong somewhere but the thing is that it DOES work, just not all the way...
here's the specific one with the code, the UI, the hierarchy and everything we should need. I have changed it so it is as simple as possible and doesn't rely on anything BUT the actual list (It was previously binded to a list coming from another listview item. Just for testing, I create one by hand directly before the setdatasource and set it. We can see in the debug there are in fact 3 items... but only one shows up for some reason.
I have tried a lot of thing trying to get this working but at this point, I really don't know...:
any ideas? it doesn't make any sense to me.
Beta Was this translation helpful? Give feedback.
All reactions