문제

How do I check whether there are any AlertDialogs on the screen programmatically?

도움이 되었습니까?

해결책 2

AFAIK, This can't be done in Android.

다른 팁

You could use myAlertDialog.isShowing(); to get a boolean of if it is showing and then do something with that information. Not exactly what you were looking for but maybe a long, convoluted work around...?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top