ArcGISFeatureLayer Not Refreshed After Sync

10-28-2014 06:22 AM
New Contributor II


We use ArcGIS feature layer  on the map which are intended to be cached locally and synchronized.

ArcGISFeatureLayer featureLayer = new ArcGISFeatureLayer(<url>, ArcGISFeatureLayer.MODE.ONDEMAND, <user credentials>)

After doing synchronization being in Online mode with cashed data we do Refresh() for these layers:

for( layer : <MapView>.getLayers())


  if (layer instanceof ArcGISFeatureLayer) {




But they are not refreshed immediately, only after some movements on the map (zooms, pans and so on…).

Could you please help me?

Tags (3)
0 Kudos
0 Replies