I'm currently using the android sdk and displaying info from a MMPK made by arcgis pro.
in the arcgis pro layers can be inserted into sub directories which are collapsible
im trying to make a legend similar to this question done by recreating the sub directories from arcgis pro but i found no way to retrace them
Hello!
It sounds like you're working with group layers. Checkout this sample and let me know if it helps answer your question.
Thanks,
Trevor