.class Lcom/moji/credit/CreditSignActivity$7;
.super Lcom/moji/requestcore/MJHttpCallback;
.source "CreditSignActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/credit/CreditSignActivity;->loginSuccessOnRefresh()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/requestcore/MJHttpCallback<",
        "Lcom/moji/http/cs/entity/DuibaURLResp;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/credit/CreditSignActivity;


# direct methods
.method constructor <init>(Lcom/moji/credit/CreditSignActivity;)V
    .locals 0

    .line 313
    iput-object p1, p0, Lcom/moji/credit/CreditSignActivity$7;->a:Lcom/moji/credit/CreditSignActivity;

    invoke-direct {p0}, Lcom/moji/requestcore/MJHttpCallback;-><init>()V

    return-void
.end method


# virtual methods
.method protected a(Lcom/moji/http/cs/entity/DuibaURLResp;)V
    .locals 3

    if-eqz p1, :cond_0

    .line 316
    iget-object v0, p1, Lcom/moji/http/cs/entity/DuibaURLResp;->url_sign_in:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 317
    iget-object v0, p0, Lcom/moji/credit/CreditSignActivity$7;->a:Lcom/moji/credit/CreditSignActivity;

    iget-object v1, p1, Lcom/moji/http/cs/entity/DuibaURLResp;->url_sign_in:Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/moji/credit/CreditSignActivity;->a(Lcom/moji/credit/CreditSignActivity;Ljava/lang/String;)Ljava/lang/String;

    .line 318
    iget-object v0, p0, Lcom/moji/credit/CreditSignActivity$7;->a:Lcom/moji/credit/CreditSignActivity;

    invoke-static {v0}, Lcom/moji/credit/CreditSignActivity;->d(Lcom/moji/credit/CreditSignActivity;)Lcom/moji/webview/bridge/BridgeWebView;

    move-result-object v0

    iget-object p1, p1, Lcom/moji/http/cs/entity/DuibaURLResp;->url_sign_in:Ljava/lang/String;

    invoke-virtual {v0, p1}, Lcom/moji/webview/bridge/BridgeWebView;->loadUrl(Ljava/lang/String;)V

    goto :goto_0

    .line 320
    :cond_0
    iget-object p1, p0, Lcom/moji/credit/CreditSignActivity$7;->a:Lcom/moji/credit/CreditSignActivity;

    invoke-static {p1}, Lcom/moji/credit/CreditSignActivity;->b(Lcom/moji/credit/CreditSignActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    move-result-object p1

    sget v0, Lcom/moji/credit/R$drawable;->view_icon_empty:I

    const-string v1, "\u7b7e\u5230\u4fe1\u606f\u83b7\u53d6\u5931\u8d25"

    const-string v2, ""

    invoke-virtual {p1, v0, v1, v2}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->a(ILjava/lang/String;Ljava/lang/String;)V

    :goto_0
    return-void
.end method

.method protected onFailed(Lcom/moji/requestcore/MJException;)V
    .locals 1

    .line 326
    invoke-static {}, Lcom/moji/tool/DeviceTool;->m()Z

    move-result p1

    if-nez p1, :cond_0

    .line 327
    iget-object p1, p0, Lcom/moji/credit/CreditSignActivity$7;->a:Lcom/moji/credit/CreditSignActivity;

    invoke-static {p1}, Lcom/moji/credit/CreditSignActivity;->b(Lcom/moji/credit/CreditSignActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/credit/CreditSignActivity$7;->a:Lcom/moji/credit/CreditSignActivity;

    invoke-static {v0}, Lcom/moji/credit/CreditSignActivity;->f(Lcom/moji/credit/CreditSignActivity;)Landroid/view/View$OnClickListener;

    move-result-object v0

    invoke-virtual {p1, v0}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->b(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    .line 329
    :cond_0
    iget-object p1, p0, Lcom/moji/credit/CreditSignActivity$7;->a:Lcom/moji/credit/CreditSignActivity;

    invoke-static {p1}, Lcom/moji/credit/CreditSignActivity;->b(Lcom/moji/credit/CreditSignActivity;)Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/credit/CreditSignActivity$7;->a:Lcom/moji/credit/CreditSignActivity;

    invoke-static {v0}, Lcom/moji/credit/CreditSignActivity;->f(Lcom/moji/credit/CreditSignActivity;)Landroid/view/View$OnClickListener;

    move-result-object v0

    invoke-virtual {p1, v0}, Lcom/moji/multiplestatuslayout/MJMultipleStatusLayout;->c(Landroid/view/View$OnClickListener;)V

    :goto_0
    return-void
.end method

.method protected synthetic onSuccess(Ljava/lang/Object;)V
    .locals 0

    .line 313
    check-cast p1, Lcom/moji/http/cs/entity/DuibaURLResp;

    invoke-virtual {p0, p1}, Lcom/moji/credit/CreditSignActivity$7;->a(Lcom/moji/http/cs/entity/DuibaURLResp;)V

    return-void
.end method
