{% setvar book_path %}/android/reference/kotlin/_book.yaml{% endsetvar %} {% include "/android/_dackka-meta-tags.html" %}

SupportErrorDialogFragment

{% setvar page_path %}com/google/android/gms/common/SupportErrorDialogFragment.html{% endsetvar %} {% setvar doc_root_path %}/android/reference{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "android/_kotlin_switcher2.md" %}

class SupportErrorDialogFragment : DialogFragment

kotlin.Any
   ↳ androidx.fragment.app.Fragment
     ↳ androidx.fragment.app.DialogFragment
       ↳ com.google.android.gms.common.SupportErrorDialogFragment

Wraps the Dialog returned by getErrorDialog by using so that it can be properly managed by the .

If you are using an Activity from the support library, use SupportErrorDialogFragment instead.

Summary

Public constructors

Public functions

java-static SupportErrorDialogFragment
newInstance(dialog: Dialog!)

Create a DialogFragment for displaying the getErrorDialog.

java-static SupportErrorDialogFragment
newInstance(
    dialog: Dialog!,
    cancelListener: DialogInterface.OnCancelListener?
)

Create a DialogFragment for displaying the getErrorDialog with an OnCancelListener.

Unit
Dialog
onCreateDialog(savedInstanceState: Bundle?)

Returns a Dialog created by getErrorDialog with the provided errorCode, activity, request code, and cancel listener.

Unit
show(manager: FragmentManager!, tag: String?)

Inherited Constants

From androidx.fragment.app.DialogFragment
const Int
const Int
const Int
const Int

Inherited functions

From androidx.fragment.app.DialogFragment
From androidx.fragment.app.Fragment
Unit
dump(p: String!, p1: FileDescriptor!, p2: PrintWriter!, p3: Array<String!>!)
Boolean
equals(p: Any!)
FragmentActivity!
Boolean
Boolean
Bundle!
FragmentManager!
Context!
CreationExtras!
ViewModelProvider.Factory!
Any!
Any!
FragmentManager!

This function is deprecated.

Any!
Int
LayoutInflater!
Lifecycle!
LoaderManager!

This function is deprecated.

Fragment!
FragmentManager!
Any!
Resources!
Boolean

This function is deprecated.

Any!
SavedStateRegistry!
Any!
Any!
String!
String!
Fragment!

This function is deprecated.

Int

This function is deprecated.

CharSequence!
Boolean

This function is deprecated.

View!
LifecycleOwner!
LiveData<LifecycleOwner!>!
ViewModelStore!
Boolean
Int
java-static Fragment!
instantiate(p: Context!, p1: String!)

This function is deprecated.

Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Unit
onActivityResult(p: Int, p1: Int, p2: Intent!)

This function is deprecated.

Unit

This function is deprecated.

Unit
Boolean
Animation!
onCreateAnimation(p: Int, p1: Boolean, p2: Int)
Animator!
onCreateAnimator(p: Int, p1: Boolean, p2: Int)
Unit
onCreateContextMenu(
    p: ContextMenu!,
    p1: View!,
    p2: ContextMenu.ContextMenuInfo!
)
Unit

This function is deprecated.

View!
Unit
Unit

This function is deprecated.

Unit
Unit
onInflate(p: Context!, p1: AttributeSet!, p2: Bundle!)
Unit
Unit
Boolean

This function is deprecated.

Unit

This function is deprecated.

Unit
Unit
Unit

This function is deprecated.

Unit
Unit

This function is deprecated.

Unit
Unit
onViewCreated(p: View!, p1: Bundle!)
Unit
ActivityResultLauncher<I!>!
<I, O> registerForActivityResult(
    p: ActivityResultContract<I!, O!>!,
    p1: ActivityResultCallback<O!>!
)
Unit
Unit

This function is deprecated.

FragmentActivity!
Bundle!
Context!
FragmentManager!

This function is deprecated.

Any!
Fragment!
View!
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

This function is deprecated.

Unit
Unit
Unit
Unit

This function is deprecated.

Unit
Unit
Unit
Unit

This function is deprecated.

Unit

This function is deprecated.

Boolean
Unit
Unit

This function is deprecated.

Unit
startIntentSenderForResult(
    p: IntentSender!,
    p1: Int,
    p2: Intent!,
    p3: Int,
    p4: Int,
    p5: Int,
    p6: Bundle!
)

This function is deprecated.

Unit
String!
Unit

Inherited properties

From androidx.fragment.app.Fragment

Public constructors

SupportErrorDialogFragment

SupportErrorDialogFragment()

Public functions

newInstance

java-static fun newInstance(dialog: Dialog!): SupportErrorDialogFragment

Create a DialogFragment for displaying the getErrorDialog.

Parameters
dialog: Dialog!

The Dialog created by getErrorDialog.

newInstance

java-static fun newInstance(
    dialog: Dialog!,
    cancelListener: DialogInterface.OnCancelListener?
): SupportErrorDialogFragment

Create a DialogFragment for displaying the getErrorDialog with an OnCancelListener.

Parameters
dialog: Dialog!

The Dialog created by getErrorDialog.

cancelListener: DialogInterface.OnCancelListener?

A DialogInterface.OnCancelListener for when a user cancels the DialogFragment.

onCancel

fun onCancel(dialog: DialogInterface!): Unit

onCreateDialog

fun onCreateDialog(savedInstanceState: Bundle?): Dialog

Returns a Dialog created by getErrorDialog with the provided errorCode, activity, request code, and cancel listener.

Parameters
savedInstanceState: Bundle?

Not used.

show

fun show(manager: FragmentManager!, tag: String?): Unit