I have a use case where I am switching from offline to online maps after detecting internet connectivity. I have noticed that if initially my base map is not loaded fully and I switch to offline, I cannot load and display the offline map view. Is there a delegate method just like we have for operational layers i.e. layerViewStateChangedHandler for base map that triggers everytime the base map is fully loaded or visible?
I would like to look at your switch basemap code to help you exactly but in general `AGSBasemap` is loadable. So either you can explicitly call `load` on it or you can observe `loadStatus` property to know when it finish loading.
Regards,
Nimesh