SnackBar icon indicating copy to clipboard operation
SnackBar copied to clipboard

FloatingActionButton has a little time difference with SnackBar

Open luziming opened this issue 8 years ago • 0 comments

 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

luziming avatar Jul 07 '17 09:07 luziming