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

FloatingActionButton has a little time difference with SnackBar #90

Open
luziming opened this issue Jul 7, 2017 · 0 comments
Open

FloatingActionButton has a little time difference with SnackBar #90

luziming opened this issue Jul 7, 2017 · 0 comments

Comments

@luziming
Copy link

luziming commented Jul 7, 2017

 SnackbarManager.show(Snackbar.with(mContext).text("MSG")
            .eventListener(new SnackBarObserver() {
                @Override
                public void onShow(Snackbar snackbar) {
                    actionButton.showWithSnackHeight(snackbar.getHeight());
                }

                @Override
                public void onDismiss(Snackbar snackbar) {
                    actionButton.showWithSnackHeight(0);
                }
            }).duration(500));

FloatingActionButton is always slower than SnackBar

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

1 participant