SmartHomeGuideFragment$4.smali
.class Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment$4;
.super Ljava/lang/Object;
# interfaces
.implements Lcom/sdk/orion/ui/baselibrary/plantform/listener/ResponseCallBackListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;->loginByOAuth2()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/sdk/orion/ui/baselibrary/plantform/listener/ResponseCallBackListener",
"<",
"Lcom/sdk/orion/bean/PlatformLoginResponseBean;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;
# direct methods
.method constructor <init>(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;)V
.registers 2
iput-object p1, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment$4;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onError(Ljava/lang/String;Ljava/lang/String;)V
.registers 5
invoke-static {}, Lcom/sdk/orion/ui/baselibrary/BaseApp;->getAppContext()Landroid/content/Context;
move-result-object v0
const/4 v1, 0x0
invoke-static {v0, p2, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
return-void
.end method
.method public onSuccess(Lcom/sdk/orion/bean/PlatformLoginResponseBean;)V
.registers 5
invoke-static {}, Lcom/sdk/orion/ui/baselibrary/BaseApp;->getAppContext()Landroid/content/Context;
move-result-object v0
sget v1, Lcom/cmcm/xiaobao/phone/smarthome/R$string;->orion_sdk_smarthome_login_success:I
const/4 v2, 0x0
invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment$4;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;
# invokes: Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;->synchDevice()V
invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;->access$900(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;)V
return-void
.end method
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
.registers 2
check-cast p1, Lcom/sdk/orion/bean/PlatformLoginResponseBean;
invoke-virtual {p0, p1}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment$4;->onSuccess(Lcom/sdk/orion/bean/PlatformLoginResponseBean;)V
return-void
.end method