TreeView
TreeView copied to clipboard
How to have two different layouts for LEVEL 0?
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
umm...are those different layouts totally different or just a little?if almost the same,you can control them by node 's data in FirstLevelNodeViewBinder. Otherwise, use a FrameLayout to hide the others layout below.
Related pull request https://github.com/shineM/TreeView/pull/53