Skip to content

Commit

Permalink
Merge pull request #8 from Sumeet21/patch-1
Browse files Browse the repository at this point in the history
prevent from double click on FAB
  • Loading branch information
bowyer-app authored Aug 3, 2016
2 parents 3e8e455 + 26269e7 commit ac88373
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ public void onAnimationEnd(final Animator animation) {
}

public void expandFab() {
if (mAnimatingFab)
return;

mFabType = FAB_EXPAND;

if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
Expand Down

0 comments on commit ac88373

Please sign in to comment.