Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Android ListView Bindings are not removed when page is popped (memory leak?)

$
0
0

It seems that when I pop a page with a ListView on it, the bindings of the ListView and ViewCells are not correctly removed . When I call RaisePropertyChanged on an object that was bound to the listview of the previous popped page, the following exception is thrown (after GC):
System.ArgumentException: 'jobject' must not be IntPtr.Zero.

Is this some sort of a memory leak?

With the example project this can be reproduced by navigating between page 1 and page 2 a few times and tapping the "Force GC" button.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>