Hello,
this feels like a noob question, but I am unable to remove an individual item from a list view.
I have this list view widget that shows other entry widgets. These entry widget represent actors in the world that have a timer on them. And when that timer reaches 0, I want to remove the corresponding entry widget from the list.
At the moment I have the entry widget listen to their actor’s countdown and then request removal:
And this is what it looks like on the ListView itself:
The logic goes through, as the Print String is triggered, but the entry in the list is not removed.
I have tried:
- Refreshing the List after removal
- Converting the List to an array before removing
- With several entries in the list
Nothing worked. “Clear Items” does work though. I’m guessing there is something I do not understand with ListViews, but I’ve been searching the internet and can’t find an answer.