TreeView
Multi Roots TreeView implementation for Android Platform with a lot of options and customization
Demo
Features:
- No Custom Views.
- Easy use, customize and extend.
- Support any number of roots.
- Can use a different design for each node.
- Selection mode for nodes.
- Dynamic adding and removing nodes.
- Don't save a reference for the view holder in each node.
- Can handle a large number of nodes without problems.
- Providing on click and on long click listener nodes.
- Easy to override any operations by override `TreeNodeManager`.
- Collapse and Extend node and node branch.
- Collapse and extend nodes by level.
- Collapse and expand all nodes.
- Can perform 2D scrolling without custom layout.
Documentations:
- Full Documentation
- Install Documentation
- Add to XML Documentation
- ViewHolders Documentation
- Tree Node Documentation
- TreeView Adapter Documentation
- TreeNode Manager Documentation
- Full Example Documentation
License
MIT License
Copyright (c) 2022 Amr Hesham
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.