c# - Intermittent ArgumentOutOfRangeException when using AlternativeFrame -


i'm using winrtxamltoolkit's alternativeframe in xamrin/mvvmcross windows 8.1 application support animations while doing page navigations. animations run fine first couple of transitions, intermittently application unhandledexception mid-animation --

the operation attempted access data outside valid range (exception hresult: 0x8000000b)"

system.argumentoutofrangeexception: collection cannot work indices larger int32.maxvalue - 1 (0x7fffffff - 1). parameter name: index @ system.runtime.interopservices.windowsruntime.listtobindablevectoradapter.ensureindexint32(uint32 index, int32 listcapacity) @ system.runtime.interopservices.windowsruntime.listtobindablevectoradapter.getat(uint32 index)

that's stack trace. same animation works several times throw error on future attempt. have ideas causing or ideas on how more information?

the offending views unnecessarily ui heavy -- gridviews inside listviews when simple itemscontrols have sufficed. replaced them , exception went away.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -