Dismiss a bottom sheet dialogue in android from its own Custom Activity
问题 I have created a custom bottom sheet android dialogue with the help of this answer by Chintan Khetiya:How to create a Custom Dialog box in android?. I want to dismiss the dialogue from the button defined in the BottomDialogue's own Activity.Not from Calling activity. Here is my code in the Calling activity in which i have created my custom BottomSheet_liab instance by click of a button: openBottomDialogeButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View