g.smali
.class Lcom/sandboxol/blockymods/view/fragment/profileImage/g;
.super Lcom/sandboxol/common/base/web/OnResponseListener;
.source "ProfileImageFragment.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;->j()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Ljava/lang/String;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;
# direct methods
.method constructor <init>(Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/sandboxol/blockymods/view/fragment/profileImage/g;->a:Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;
invoke-direct {p0}, Lcom/sandboxol/common/base/web/OnResponseListener;-><init>()V
return-void
.end method
# virtual methods
.method public onError(ILjava/lang/String;)V
.registers 3
.line 1
iget-object p2, p0, Lcom/sandboxol/blockymods/view/fragment/profileImage/g;->a:Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;
invoke-static {p2}, Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;->d(Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;)Landroid/content/Context;
move-result-object p2
invoke-static {p2, p1}, Lcom/sandboxol/center/web/UserOnError;->showErrorTip(Landroid/content/Context;I)V
return-void
.end method
.method public onServerError(I)V
.registers 3
.line 1
iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/profileImage/g;->a:Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;
invoke-static {v0}, Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;->e(Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;)Landroid/content/Context;
move-result-object v0
invoke-static {v0, p1}, Lcom/sandboxol/common/web/error/ServerOnError;->showOnServerError(Landroid/content/Context;I)V
return-void
.end method
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
.registers 2
.line 1
check-cast p1, Ljava/lang/String;
invoke-virtual {p0, p1}, Lcom/sandboxol/blockymods/view/fragment/profileImage/g;->onSuccess(Ljava/lang/String;)V
return-void
.end method
.method public onSuccess(Ljava/lang/String;)V
.registers 4
.line 2
iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/profileImage/g;->a:Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;
new-instance v1, Lcom/sandboxol/greendao/entity/User;
invoke-direct {v1}, Lcom/sandboxol/greendao/entity/User;-><init>()V
invoke-static {v0, v1}, Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;->a(Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;Lcom/sandboxol/greendao/entity/User;)Lcom/sandboxol/greendao/entity/User;
.line 3
iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/profileImage/g;->a:Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;
invoke-static {v0}, Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;->a(Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;)Lcom/sandboxol/greendao/entity/User;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/sandboxol/greendao/entity/User;->setPicUrl(Ljava/lang/String;)V
.line 4
iget-object p1, p0, Lcom/sandboxol/blockymods/view/fragment/profileImage/g;->a:Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;
invoke-static {p1}, Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;->b(Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;)V
.line 5
iget-object p1, p0, Lcom/sandboxol/blockymods/view/fragment/profileImage/g;->a:Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;
invoke-static {p1}, Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;->c(Lcom/sandboxol/blockymods/view/fragment/profileImage/ProfileImageFragment;)Landroid/content/Context;
move-result-object p1
const-string v0, "more_head_suc"
invoke-static {p1, v0}, Lcom/sandboxol/common/interfaces/ReportDataAdapter;->onEvent(Landroid/content/Context;Ljava/lang/String;)V
return-void
.end method