I am using FloatingActionButton
, Snackbar
and CoordinatorLayout
to make room for snackbar when it is shown.
Now when the contextual mode is called on the listview I call snackbar.dismiss()
. If I set the FloatingActionButton
to invisible and snackbar is still shown, the FloatingActionButton
is displaced by 'CoordinatorLayout' but it remains there even after it is made visible.
Is there any way for Snackbar
to be dismissed without animation, immediately, so that the displacement can't happen in the first place?
Looks like this issue has been fixed from Design library 23.3.0
onwards.