We have a map with ~10 feature layers. We recently wanted one of the layers to auto refresh every 20 seconds so we used featureLayer.setRefreshInterval on that layer.
If we do that, our mapView.identifyLayersAsync done listener is never triggered.
ListenableFuture<List<IdentifyLayerResult>> identifyTask = mMapView
.identifyLayersAsync(new android.graphics.Point((int) e.getX(), (int) e.getY()), 22.0, false, 4);
identifyTask.addDoneListener(() -> {
try {
boolean foundItem = false; // <-- HERE
List<IdentifyLayerResult> results = identifyTask.get();
If we have the applicable layer visible, trigger identify and then hide the layer, the listener is triggered immediately. If we load the app without setting refresh interval on the layer it works.
We have the exact same code and layers on the iOS side as well, and there identify works as expected with refreshInterval.
Any thoughts?
Edit: We are running 100.15.4, I tried downgrading to 100.13.0 (oldest our app can run) with the same results.