Omvir Singh
Results
1
comments of
Omvir Singh
You can simply set cancelable: fun show(activity: AppCompatActivity, cancelable:Boolean) { when (style) { AlertStyle.BOTTOM_SHEET -> { val bottomSheet = BottomSheetFragment(title, message, actions, style, theme) bottomSheet.show(activity.supportFragmentManager, bottomSheet.tag) bottomSheet.isCancelable=cancelable } AlertStyle.IOS ->...