(The Android application source code uses the tree structure implemented by listview
Write before:
First of all, this is just an introduction to the most basic tree organization structure. My own PS connection line is O (∩∩) O. For practical use, click events can be added to the +, - signs, node icons and text; You can also add a check box before the node.
Before doing this, I searched the Internet for a long time and found this example: http://www.apkbus.com/android-83520-1-1.html , but this one doesn't look good, so it's based on this. This example. O (∩∩) O ha ha, I sent my own writing for the first time. Please forgive me for my bad writing)