ErrorDialogFragment

class ErrorDialogFragment : DialogFragment


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 ErrorDialogFragment
newInstance(dialog: Dialog!)

Create a DialogFragment for displaying the getErrorDialog.

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

Create a DialogFragment for displaying the getErrorDialog with an OnCancelListener.

Unit

This function is deprecated.

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?)

This function is deprecated.

Inherited Constants

From android.content.ComponentCallbacks2
From android.app.DialogFragment
const Int

This property is deprecated.

const Int

This property is deprecated.

const Int

This property is deprecated.

const Int

This property is deprecated.

Inherited functions

From android.app.DialogFragment
Unit

This function is deprecated.

Unit

This function is deprecated.

Unit
dump(p: String!, p1: FileDescriptor!, p2: PrintWriter!, p3: Array<String!>!)

This function is deprecated.

Dialog!

This function is deprecated.

Boolean

This function is deprecated.

Int

This function is deprecated.

Boolean

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

LayoutInflater!

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit
setStyle(p: Int, p1: Int)

This function is deprecated.

Int

This function is deprecated.

From android.app.Fragment
Boolean
equals(p: Any!)

This function is deprecated.

Activity!

This function is deprecated.

Boolean

This function is deprecated.

Boolean

This function is deprecated.

Bundle!

This function is deprecated.

FragmentManager!

This function is deprecated.

Context!

This function is deprecated.

Transition!

This function is deprecated.

Transition!

This function is deprecated.

FragmentManager!

This function is deprecated.

Any!

This function is deprecated.

Int

This function is deprecated.

LayoutInflater!

This function is deprecated.

LoaderManager!

This function is deprecated.

Fragment!

This function is deprecated.

Transition!

This function is deprecated.

Resources!

This function is deprecated.

Boolean

This function is deprecated.

Transition!

This function is deprecated.

Transition!

This function is deprecated.

Transition!

This function is deprecated.

String!

This function is deprecated.

String!

This function is deprecated.

Fragment!

This function is deprecated.

Int

This function is deprecated.

CharSequence!

This function is deprecated.

Boolean

This function is deprecated.

View!

This function is deprecated.

Int

This function is deprecated.

java-static Fragment!
instantiate(p: Context!, p1: String!)

This function is deprecated.

Boolean

This function is deprecated.

Boolean

This function is deprecated.

Boolean

This function is deprecated.

Boolean

This function is deprecated.

Boolean

This function is deprecated.

Boolean

This function is deprecated.

Boolean

This function is deprecated.

Boolean

This function is deprecated.

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

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Boolean

This function is deprecated.

Animator!
onCreateAnimator(p: Int, p1: Boolean, p2: Int)

This function is deprecated.

Unit
onCreateContextMenu(
    p: ContextMenu!,
    p1: View!,
    p2: ContextMenu.ContextMenuInfo!
)

This function is deprecated.

Unit

This function is deprecated.

View!

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Boolean

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit
onViewCreated(p: View!, p1: Bundle!)

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Unit

This function is deprecated.

Boolean

This function is deprecated.

Unit

This function is deprecated.

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

This function is deprecated.

String!

This function is deprecated.

Unit

This function is deprecated.

Public constructors

ErrorDialogFragment

ErrorDialogFragment()

Public functions

newInstance

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

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?
): ErrorDialogFragment

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