AnsweredAssumed Answered

The app is very slow after moving from map activity

Question asked by g0rdan on Mar 19, 2017
Latest reply on Mar 25, 2017 by g0rdan

Hi guys!

I have some issue. If i'm opening map activity with arcgis map and trying to show a few features it is OK.

But if I want to show over 3000 features that is freezing my app AFTER moving away from the map activity.

If I wait for a while on another activity the map activity will call OnStop() and the app unfreeze. OnStop () might called just only after 1 minute of waiting or more.

I'm using a sequence: list of features -> one feature collection table -> one feature collection -> one feature collection layer -> map.

I mean I'm making list of features then I'm adding list to an one feature collection table and so on.

How can I solve this problem? I was trying to find a way to "dispose" some objects and "clean" some collections into Map and MapView objects, but it doesn't work for me.

 

Environment:

Xamarin Studio 6.2,

Xamarin.Android version - 7.1

Arcgis package version - 100.0.0

Outcomes