Package eltos.simpledialogfragment
Interface SimpleDialog.OnDialogResultListener
- All Known Implementing Classes:
SimpleColorDialog
,SimpleFormDialog
- Enclosing class:
- SimpleDialog<This extends SimpleDialog<This>>
public static interface SimpleDialog.OnDialogResultListener
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Method Summary
-
Field Details
-
CANCELED
static final int CANCELED- See Also:
-
BUTTON_POSITIVE
static final int BUTTON_POSITIVE- See Also:
-
BUTTON_NEGATIVE
static final int BUTTON_NEGATIVE- See Also:
-
BUTTON_NEUTRAL
static final int BUTTON_NEUTRAL- See Also:
-
-
Method Details
-
onResult
Let the hosting fragment or activity implement this interface to receive results from the dialog- Parameters:
dialogTag
- the tag passed toSimpleDialog.show(androidx.fragment.app.Fragment)
which
- result type, one ofBUTTON_POSITIVE
,BUTTON_NEGATIVE
,BUTTON_NEUTRAL
orCANCELED
extras
- the extras passed toSimpleDialog.extra(Bundle)
- Returns:
- true if the result was handled, false otherwise
-