Hello,
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(com.esri.android.map.Layer layer : <MapView>.getLayers())
{
if (layer instanceof ArcGISFeatureLayer) {
((ArcGISFeatureLayer)layer).refresh();
}
}
But they are not refreshed immediately, only after some movements on the map (zooms, pans and so on…).
Could you please help me?