DeviceAddedDialog$Builder.smali

.class public Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;
.super Ljava/lang/Object;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "Builder"
.end annotation


# instance fields
.field private mContext:Landroid/content/Context;

.field private mCurrentDialog:Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .registers 4

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;->mContext:Landroid/content/Context;

    new-instance v0, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;

    iget-object v1, p0, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;->mCurrentDialog:Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;

    return-void
.end method


# virtual methods
.method public create()Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;
    .registers 2

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;->mCurrentDialog:Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;

    return-object v0
.end method

.method public setCancelable(Z)Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;
    .registers 3

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;->mCurrentDialog:Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;

    invoke-virtual {v0, p1}, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;->setCancelable(Z)V

    return-object p0
.end method

.method public setNewEquipInfoBean(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeSyncDataBean$NewEquipInfoBean;)Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;
    .registers 3

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;->mCurrentDialog:Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;

    invoke-virtual {v0, p1}, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;->setNewEquipInfoBean(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeSyncDataBean$NewEquipInfoBean;)V

    return-object p0
.end method

.method public setOnShowListener(Landroid/content/DialogInterface$OnShowListener;)Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;
    .registers 3

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;->mCurrentDialog:Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;

    invoke-virtual {v0, p1}, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;->setOnShowListener(Landroid/content/DialogInterface$OnShowListener;)V

    return-object p0
.end method

.method public setPositiveButton(Landroid/content/DialogInterface$OnClickListener;)Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;
    .registers 3

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog$Builder;->mCurrentDialog:Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;

    invoke-virtual {v0, p1}, Lcom/cmcm/xiaobao/phone/smarthome/dialog/DeviceAddedDialog;->setPositiveListener(Landroid/content/DialogInterface$OnClickListener;)V

    return-object p0
.end method