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

MainView did not close after button action. #5

Open
mohanrajsambath opened this issue Sep 18, 2018 · 1 comment
Open

MainView did not close after button action. #5

mohanrajsambath opened this issue Sep 18, 2018 · 1 comment

Comments

@mohanrajsambath
Copy link

Hey Mark, I tried your reference in a sample app, I facing an issue, say for example end user delete the position 2, at that moment position 3 value move to position 2 is working fine, but the opened main view does not close automatically. please help me to resolve this scenario, how may I handle this one using your reference. Thanks in advance.

@dmitriy-chernysh
Copy link

After button has been pressed ( in setOnClickListener ) you should call swipeRevealLayout.close(true) //true - with animation, false - without

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

2 participants