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

There is no way of knowing if the BottomSheet is dismissing #197

Open
kanytu opened this issue Apr 5, 2018 · 2 comments
Open

There is no way of knowing if the BottomSheet is dismissing #197

kanytu opened this issue Apr 5, 2018 · 2 comments

Comments

@kanytu
Copy link

kanytu commented Apr 5, 2018

The dismiss has an animation and we have no way of knowing if the view is dismissing of not

@Mouadabdelghafouraitali
Copy link

bottomSheet.addOnSheetDismissedListener(new OnSheetDismissedListener() {
            @Override
            public void onDismissed(BottomSheetLayout bottomSheetLayout) {
                Toast.makeText(FullScreen.this, "bottomSheet dimissed", Toast.LENGTH_SHORT).show();
                
            }
        });

@kanytu
Copy link
Author

kanytu commented Nov 2, 2018

That tells if you if the bottom sheet has just dismissed. I said "dismissing" not "dismissed" Different events.

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