Unable to get group names list

How to get group names form xmpp using asmack

Which groups? Roster groups?

MultiUserChat group names,I was able to get finally belowis the link i have my question

Unable to return group list in xmpp with asmack version asmack-android-8-4.0.6.jar - Stack Overflow

How to Join in room with JID of the group?