Maybe there is an obvious answer that I missed, but I'm wondering how can I display a legend from a web map? I was looking at Esri's GitHub Android Sample for displaying a legend, but this is using a Dynamic Service Layer, not a webmap. I'm planning on displaying the legend the same way through a Fragment, but the ArcGISDynamicMapServiceLayer has a method to retrieve the legend info. I am not seeing anything like this to call from a MapView.
I am instantiating a MapView using a url like this to load the WebMap:
map = new MapView(
I know I can iterate through the map layers, but I couldn't see anything in a Layer either that would give me a renderer or legend info (besides whether or not there is a legend item for it). I feel like I'm making this harder than it needs to be...