Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AlertDialogプログラムで画面に sがあるかどうかを確認するにはどうすればよいですか?
AlertDialog
myAlertDialog.isShowing();表示されているかどうかのブール値を取得し、その情報を使用して何かを行うために使用できます。正確にはあなたが探していたものではありませんが、おそらく長くて複雑な回避策...?
myAlertDialog.isShowing();
知る限り、これは Android では実行できません。