Kennyc1012 / BottomSheetMenu

BottomSheetMenu style dialogs for Android
Apache License 2.0
887 stars 99 forks source link

Dismiss on Button Clicked #28

Closed darkholiday closed 8 years ago

darkholiday commented 8 years ago

I want to dismiss the bottomSheet when i click on a button to show another one. In the current case the new one shows in front of the previous one.

Kennyc1012 commented 8 years ago

Can you paste your code of how you are showing both BottomSheets?

darkholiday commented 8 years ago

I have already found a solution.

BottomSheet.Builder appSheet = new BottomSheet.Builder(getContext()); BottomSheet bSheet = appSheet.create(); and then i use bSheet.show(); or bSheet.dismiss();

Thank you for your quick response.