ErrorDialogFragment
public class ErrorDialogFragment extends DialogFragment
| java.lang.Object | |||
| ↳ | android.app.Fragment | ||
| ↳ | android.app.DialogFragment | ||
| ↳ | com.google.android.gms.common.ErrorDialogFragment |
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 methods |
|
|---|---|
static @NonNull ErrorDialogFragment |
newInstance(Dialog dialog)Create a |
static @NonNull ErrorDialogFragment |
newInstance(Create a |
void |
onCancel(DialogInterface dialog)This method is deprecated. |
@NonNull Dialog |
onCreateDialog(@Nullable Bundle savedInstanceState)Returns a |
void |
show(FragmentManager manager, @Nullable String tag)This method is deprecated. |
Inherited Constants |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
Inherited methods |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Public constructors
Public methods
newInstance
public static @NonNull ErrorDialogFragment newInstance(Dialog dialog)
Create a DialogFragment for displaying the getErrorDialog.
| Returns | |
|---|---|
@NonNull ErrorDialogFragment |
The |
newInstance
public static @NonNull ErrorDialogFragment newInstance(
Dialog dialog,
@Nullable DialogInterface.OnCancelListener cancelListener
)
Create a DialogFragment for displaying the getErrorDialog with an OnCancelListener.
| Parameters | |
|---|---|
Dialog dialog |
The |
@Nullable DialogInterface.OnCancelListener cancelListener |
A |
| Returns | |
|---|---|
@NonNull ErrorDialogFragment |
The |