I couldn't figure out how to clean up ListView items after changing the item-source or leaving a page.
Let's take your TemplateCell Example from
https://docs.telerik.com/devtools/maui/controls/listview/cells/template-cell
If i use a custom view instead of the grid it doesn't get a unloaded event or disposed or something else.
This prevents me to do a native view cleanup in my custom view. Consequently i can't disconnect Handlers resulting in memory leaks.
Am I missing something here? Something in the documentation?
Is there an example?
I've created a minimal repo example showing whats not working:
Using the unloaded event in the custom view itself to cleanup (ListViewContent in the repo):
https://github.com/baaaaif/TelerikListViewCleanup
Doing so, when navigating to the second page and back - the list view items are broken