Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉我如何用哈希映射的数组列表填充可扩展列表。实际上我已经制作了一个树数据结构,我想使用我的数据结构来填充可扩展列表......
在此示例中,您将了解如何使用两个数组进行操作:
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList1.html
因此,只需稍微修改代码以使其与您的 HashTable 一起工作......非常简单的东西。