org.solovyev.android.view
Class ConfirmationDialogBuilder

java.lang.Object
  extended by org.solovyev.android.view.ConfirmationDialogBuilder
All Implemented Interfaces:
org.solovyev.common.Builder<DialogFragmentShower>

public class ConfirmationDialogBuilder
extends Object
implements org.solovyev.common.Builder<DialogFragmentShower>

User: serso Date: 4/29/12 Time: 1:25 PM


Method Summary
 DialogFragmentShower build()
           
static ConfirmationDialogBuilder newInstance(FragmentActivity fragmentActivity, String fragmentTag, int messageResId)
           
 ConfirmationDialogBuilder setNegativeButtonTextResId(int negativeButtonTextResId)
           
 ConfirmationDialogBuilder setNegativeHandler(android.content.DialogInterface.OnClickListener negativeHandler)
           
 ConfirmationDialogBuilder setPositiveButtonTextResId(int positiveButtonTextResId)
           
 ConfirmationDialogBuilder setPositiveHandler(android.content.DialogInterface.OnClickListener positiveHandler)
           
 ConfirmationDialogBuilder setTitleResId(int titleResId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

@Nonnull
public static ConfirmationDialogBuilder newInstance(@Nonnull
                                                            FragmentActivity fragmentActivity,
                                                            @Nonnull
                                                            String fragmentTag,
                                                            int messageResId)

setTitleResId

@Nonnull
public ConfirmationDialogBuilder setTitleResId(int titleResId)

setPositiveButtonTextResId

@Nonnull
public ConfirmationDialogBuilder setPositiveButtonTextResId(int positiveButtonTextResId)

setNegativeButtonTextResId

@Nonnull
public ConfirmationDialogBuilder setNegativeButtonTextResId(int negativeButtonTextResId)

setPositiveHandler

@Nonnull
public ConfirmationDialogBuilder setPositiveHandler(@Nullable
                                                            android.content.DialogInterface.OnClickListener positiveHandler)

setNegativeHandler

@Nonnull
public ConfirmationDialogBuilder setNegativeHandler(@Nullable
                                                            android.content.DialogInterface.OnClickListener negativeHandler)

build

@Nonnull
public DialogFragmentShower build()
Specified by:
build in interface org.solovyev.common.Builder<DialogFragmentShower>


Copyright © 2014 se.solovyev. All Rights Reserved.