# android-tree **Repository Path**: coolcode/android-tree ## Basic Information - **Project Name**: android-tree - **Description**: android tree - **Primary Language**: Android - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-03-30 - **Last Updated**: 2020-12-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #android-tree ## 实现原理 根据ListView的Item + paddingLeft(Level控制层级) + expand (控制展开或收起); ## 步骤 1. 将用户数据(List)转换为节点(List)数据; 2. 设置节点间的关联关系; 3. 排序; 4. 过滤出需要在ListView上显示的数据;