Dismiss listener
This commit is contained in:
parent
ad281d4445
commit
bb1f7cdd71
1 changed files with 4 additions and 0 deletions
|
@ -115,6 +115,10 @@ public class DismissRouteBottomSheetFragment extends MenuBottomSheetDialogFragme
|
|||
|
||||
}
|
||||
|
||||
public void setOnDismissListener(DialogInterface.OnDismissListener dismissListener) {
|
||||
this.dismissListener = dismissListener;
|
||||
}
|
||||
|
||||
public static void showInstance(@NonNull FragmentManager fragmentManager, @Nullable Fragment targetFragment, DialogInterface.OnDismissListener dismissListener) {
|
||||
if (!fragmentManager.isStateSaved()) {
|
||||
DismissRouteBottomSheetFragment fragment = new DismissRouteBottomSheetFragment();
|
||||
|
|
Loading…
Reference in a new issue