How to create a tree view in Android?

后端 未结 3 2100
名媛妹妹
名媛妹妹 2021-02-05 15:19

There are no controls in Android that provide Tree-like View. There is an ExpandableList View which I suspect could be used to creating one.

Have you tried imlpementing

相关标签:
3条回答
  • 2021-02-05 15:31

    Our company just open-sourced a small widget that is doing just that... You can see all the sources and add the project (as a library) to your own android project:

    http://code.google.com/p/tree-view-list-android/

    0 讨论(0)
  • 2021-02-05 15:40

    this solutions are, very complicate. but can use a ExpandableListView of more levels.

    Example: How to implement multilevel ExpandableListview in Android?

    0 讨论(0)
  • 2021-02-05 15:47

    take a look at ExpandableListView. Besides, see following thread:

    http://www.mail-archive.com/android-beginners@googlegroups.com/msg03587.html

    0 讨论(0)
提交回复
热议问题