prior to 100.0.0 I used to load my feature services as follows:
ArcGISFeatureLayer buildings = new ArcGISFeatureLayer(getResources().getString(R.string.buildingsURL), ArcGISFeatureLayer.MODE.SELECTION);map.addLayer(buildings);
I.e., my building and room features would not be displayed by default,
but only when they were selected.
There also used to be the modes "ONDEMAND" and "SNAPSHOT",
but the SELECTION mode is most important for my app.
For 100.0.0 I changed the code to this:ServiceFeatureTable buildingsTable =
buildings = new FeatureLayer(buildingsTable);map.getOperationalLayers().add(buildings);
I could not find a "SELECTION" mode and all buildings (or rooms) are displayed
at the same time.
Moreover, I realized that only the first layer is displayed (in this case, buildings;
if I add rooms as the first layer, then all rooms are shown).
But this is a different problem...
So first of all, could someone please tell me how I can add feature layers
so that features are loaded from the server only when they are selected?