So I have a ListView with a few dynamically created items. Some of the items have started a timer. At some point, the list gets refreshed and all references to the timers are gone.
Conclusion: Stop the timers before the item is removed from the list (with ListModel.clear()). Is it somehow possible to do this? I look for something like onVisibleChanged {do some fancy stuff when the visible property changed }. Or do you know any others solutions?
Thanks in advance :-)
↧