You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2D scrolling mode added, keep in mind this comes with few limitations: you won't be able not place views on right side like alignParentRight. Everything should be align left. Is not enabled by default
Description
Tree view implementation for android
Demo
Features
N - level expandable/collapsable tree
Custom values, views, styles for nodes
Save state after rotation
Selection mode for nodes
Dynamic add/remove node
Known Limitations
For Android 4.0 (+/- nearest version) if you have too deep view hierarchy and with tree its easily possible, your app may crash
<
77C5
div class="markdown-heading" dir="auto">
Integration
1) Add library as a dependency to your project
compile 'com.github.bmelnychuk:atv:1.2.+'
2) Create your tree starting from root element. TreeNode.root() element will not be displayed so it doesn't require anything to be set.
TreeNoderoot = TreeNode.root();
Create and add your nodes (use your custom object as constructor param)