DialogFragment
open class DialogFragment : Fragment, OnCancelListener, OnDismissListener
kotlin.Any | ||
↳ | androidx.fragment.app.Fragment | |
↳ | androidx.fragment.app.DialogFragment |
Static library support version of the framework's android.app.DialogFragment
. Used to write apps that run on platforms prior to Android 3.0. When running on Android 3.0 or above, this implementation is still used; it does not try to switch to the framework's implementation. See the framework SDK documentation for a class overview.
Summary
Constants | |
---|---|
static Int |
Style for |
static Int |
Style for |
static Int |
Style for |
static Int |
Style for |
Public constructors | |
---|---|
<init>() Constructor used by the default |
|
Alternate constructor that can be called from your default, no argument constructor to provide a default layout that will be inflated by |
Public methods | |
---|---|
open Unit |
dismiss() Dismiss the fragment and its dialog. |
open Unit |
Version of |
open Dialog? |
Return the |
open Boolean |
Return the current value of |
open Int |
getTheme() |
open Boolean |
Return the current value of |
open Unit | |
open Unit |
onCancel(@NonNull dialog: DialogInterface) |
open Unit | |
open Dialog |
onCreateDialog(@Nullable savedInstanceState: Bundle?) Override to build your own custom Dialog container. |
open Unit |
Remove dialog. |
open Unit |
onDetach() |
open Unit |
onDismiss(@NonNull dialog: DialogInterface) |
open LayoutInflater |
onGetLayoutInflater(@Nullable savedInstanceState: Bundle?) Returns the LayoutInflater used to inflate Views of this Fragment. |
open Unit |
onSaveInstanceState(@NonNull outState: Bundle) |
open Unit |
onStart() |
open Unit |
onStop() |
open |