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

how to avoid crashes due to "The object was used after being disposed." in TableView?

$
0
0

TableView looks like a great way for me to get started with table based UIs. I really want to use it with a labs repeater view (horizontal list inside a vertical one).

However, this causes constant crashing - I don't actually need (or want) the tableview to recycle cells, which is what I guess it must be doing.. is there a way to avoid this behaviour?
Failing that, is there a way I can set the repeater ItemsSource from code, when the tableview creates the cell with the repeater in it?

I also had similar crashes with embedding a collectionview (grid view from labs) into a table view.. Has anyone got any advice on getting tableviews to play nice with xamarin bindings?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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