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

CollectionView in xamarin forms causing problems

$
0
0

I'm using collectionview containing only buttens and when i scroll, it is throwing two types of exceptions randomly as given below:

Note: In mostly cases it is working fine, but in 30% cases when i run my app, it is throwing one of two exceptions as given below randomly.

Exception #1:
System.ObjectDisposedException: 'Cannot access a disposed object.
Object name: 'Android.Graphics.Rect'.'

Exception #1:
Java.Lang.ArrayIndexOutOfBoundsException: 'length=4; index=36'

Can someone tell me about the exceptions, why these are happening and how can i solve them!
Thanks in advance!


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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