While showing/dismissing alert dialog from my BottomSheetDialogFragment there is a blink on screen, How to avoid this? Thanks in advance.
AlertDialog alertDialog = AlertDialog.Builder(activity)
.setMessage(messageStringId)
.setPositiveButton(positiveButtonTextId) { _, _, _ ->
//Action
}
.setNegativeButton(negativeButtonTextId) { _, _, _ ->
//Action
}
.create()
alertDialog.show()
Issue: https://youtu.be/yR8XXgHchmA