TreeView icon indicating copy to clipboard operation
TreeView copied to clipboard

How to have two different layouts for LEVEL 0?

Open a-v-ebrahimi opened this issue 7 years ago • 2 comments

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

a-v-ebrahimi avatar Feb 01 '18 06:02 a-v-ebrahimi

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.

shineM avatar Feb 01 '18 11:02 shineM

Related pull request https://github.com/shineM/TreeView/pull/53

TomasJohansson avatar Aug 23 '19 10:08 TomasJohansson