safeShow

fun safeShow(fragmentManager: FragmentManager, tag: String)

Safely shows the dialog with exception handling.
Catches any exceptions that may occur during showing.

예외 처리와 함께 다이얼로그를 안전하게 표시합니다.
표시하는 동안 발생할 수 있는 모든 예외를 잡습니다.

Parameters

fragmentManager

The FragmentManager to use for showing the dialog.

다이얼로그를 표시하는 데 사용할 FragmentManager.

tag

The tag for this fragment, as per FragmentTransaction.add.

FragmentTransaction.add에 따른 이 프래그먼트의 태그.