Created
October 6, 2016 07:00
-
-
Save beta/571f7a0bd4fc354d91cc9c83ac406e1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private BottomSheetBehavior.BottomSheetCallback mBottomSheetCallback | |
= new BottomSheetBehavior.BottomSheetCallback() { | |
@Override | |
public void onStateChanged(@NonNull View bottomSheet, | |
@BottomSheetBehavior.State int newState) { | |
if (newState == BottomSheetBehavior.STATE_HIDDEN) { | |
dismiss(); | |
} | |
} | |
@Override | |
public void onSlide(@NonNull View bottomSheet, float slideOffset) { | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment