AnsweredAssumed Answered

MapView will crash if a new project button is clicked while a previous layers haven't been fully displayed

Question asked by Nickwan on Dec 9, 2015
Latest reply on Dec 11, 2015 by Nickwan

ArcGIS Runtime SDK (10.2.x) loading layers from geodatabase, size from 100 kB to 3 GB, when switching projects, it will crash if a new project button is clicked while the layers of previous project haven't been fully displayed.

 

This is because of MapView is occupied, and new manipulation conflicts and chocks it. Tried different ways including async loading geodatabase layers, all failed, since it is not due to large geodatabase, but the MapView display lag. And there is lack of callback event in MapView or other objects to tell whether the crash maker is safe to be manipulated again or not.

Outcomes