I am trying to make a drop down menu as below programmatically and don't want to use any spinner or xml:
] 3
尝试使用ExpandableListView满足您的要求
There is a ton of libraries out there for this purpose. Simply search for "Expandable Recycler View" and you will get what you need.
Here is my favorite : http://bignerdranch.github.io/expandable-recycler-view/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.