AnsweredAssumed Answered

ArcGISDynamicMapServiceLayer alternative in API 100

Question asked by sharjeelx on Dec 8, 2016
Latest reply on Dec 9, 2016 by sharjeelx

Previously I used following code for adding Layers:

UserCredentials userCredentials = new UserCredentials();
userCredentials.setUserAccount("Username", "Password");
dynamicLayer = new ArcGISDynamicMapServiceLayer(url,null, userCredentials, true);

What's the alternative of adding ArcGISDynamicMapServiceLayer in API 100 as this Layer class doesn't exist in new API?