标签: android
我有一个扩展BottomSheetDialogFragment的dialogFragment。当这个对话片段被解雇时,我如何调用一个活动方法。
请帮助我..提前感谢
答案 0 :(得分:0)
首先设置Dialog的监听器。请检查此Note: DialogFragment own the Dialog.setOnCancelListener and Dialog.setOnDismissListener callbacks. You must not set them yourself. To find out about these events, override onCancel(DialogInterface) and onDismiss(DialogInterface).