TreeView
TreeView copied to clipboard
An android tree structure view with high performance and rich features
I need to set clicklistener on second level from MainActivity, possible? Thanks
CheckBox 被选择了
我使用发现,全选能用,但貌似单选有问题,selectNode()方法无效,另外selectNode()方法的adapter未实例化,在getView()后会实例化,但在这时候貌似无作用
最近用到这个树形列表,需要实现单选功能。具体需求是父节点和子节点单选要互斥。。就是选了父节点,子节点不全选中。怎么实现???
Now if I select parent, all child will be selected and if I unselect one child parent selection will go off. Is there any way to show tri-state checkbox at...
展开后,可以向上滑动,展示出所有展开的内容,这个有办法做到吗
Hi I need to inflate different layouts depending on item item, how can I have it? Your node factory only checks level and Node Data is not accessible there. Thanks
改成public之后对于使用者来说可以方便集成TreeViewAdapter从而来做一些自己的定制和修改,不然都整个类复制一遍,扩展性不太好
demo里面都是自己造好数据,通过一个for循环,把组分好了,然后填充到Adapter中,我目前在项目中,需要自己分组,然后设置对应树形结构.例如我通过map把一组数据里面相同的name来进行分组,来做成这种结构的数据 List那么再来一个person数据,在adapter里面我怎么只更新某个name下面的child,也就是怎么只更新parent下面的child类呢?