MutatorFragment

public abstract class MutatorFragment extends DialogFragment
Known Direct Subclasses

Base class for a dialog fragment that displays UI for mutating a block. The fragment will be shown or hidden by the activity, which is responsible for managing the fragment's lifecycle.

MutatorFragment.Factorys should be registered with registerMutatorUi(String, Factory) so that the controller can create fragments for block mutator UIs as necessary.

Nested Class Summary

interface MutatorFragment.DismissListener Listener interface for performing cleanup when a MutatorFragment is dismissed. 
interface MutatorFragment.Factory<T extends MutatorFragment> Each mutator which wants to provide a toggleable UI for the user to mutate the block should have a factory. 

Field Summary

protected MutatorFragment.DismissListener mDismissListener

Public Constructor Summary

Public Method Summary

void
onDismiss(DialogInterface dialog)
void
setDismissListener(MutatorFragment.DismissListener listener)
Sets a listener that will be called when the mutator's dialog is dismissed.

Inherited Method Summary

Fields

protected MutatorFragment.DismissListener mDismissListener

Public Constructors

public MutatorFragment ()

Public Methods

public void onDismiss (DialogInterface dialog)

Parameters
dialog

public void setDismissListener (MutatorFragment.DismissListener listener)

Sets a listener that will be called when the mutator's dialog is dismissed.

Parameters
listener The listener to call.