Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to have two different layouts for LEVEL 0? #25

Open
a-v-ebrahimi opened this issue Feb 1, 2018 · 2 comments
Open

How to have two different layouts for LEVEL 0? #25

a-v-ebrahimi opened this issue Feb 1, 2018 · 2 comments

Comments

@a-v-ebrahimi
Copy link

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

@shineM
Copy link
Owner

shineM commented Feb 1, 2018

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.

@TomasJohansson
Copy link
Contributor

Related pull request
#53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants