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

CustomFragmentContainerView should be added to fragments #5

Open
Zhuinden opened this issue Oct 6, 2020 · 0 comments
Open

CustomFragmentContainerView should be added to fragments #5

Zhuinden opened this issue Oct 6, 2020 · 0 comments
Labels

Comments

@Zhuinden
Copy link
Owner

Zhuinden commented Oct 6, 2020

https://gist.github.com/Zhuinden/6ccd443d09c49f43f13b6169ae3d7966

I kinda forgot for 2.0.1, but I should move this into the lib so that anyone can set up the "slide on top of other fragment" setup with a simple import... and some tricks. 🤔

binding.rootView.setDrawDisappearingViewsLast(topNewKey.shouldAnimateInFromBelow)
binding.rootView.setDrawAppearingViewsLast(true)

is how I currently ended up using it.

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

No branches or pull requests

1 participant