.class Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;
.super Lcom/moji/requestcore/MJHttpCallback;
.source "FeedBackActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/setting/activity/FeedBackActivity;->getFeedBackUnReadHttp()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/ugc/bean/FeedBackList;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)V
    .locals 0

    .line 543
    iput-object p1, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

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

    return-void
.end method


# virtual methods
.method public a(Lcom/moji/http/ugc/bean/FeedBackList;)V
    .locals 5

    if-eqz p1, :cond_4

    .line 546
    iget-object v0, p1, Lcom/moji/http/ugc/bean/FeedBackList;->list:Ljava/util/List;

    if-eqz v0, :cond_4

    iget-object v0, p1, Lcom/moji/http/ugc/bean/FeedBackList;->list:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    goto/16 :goto_2

    .line 549
    :cond_0
    iget-object p1, p1, Lcom/moji/http/ugc/bean/FeedBackList;->list:Ljava/util/List;

    .line 550
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    .line 551
    iget-object v1, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    add-int/lit8 v2, v0, -0x1

    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/http/ugc/bean/FeedBackData;

    iget-object v2, v2, Lcom/moji/http/ugc/bean/FeedBackData;->id:Ljava/lang/String;

    invoke-static {v1, v2}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->a(Lcom/moji/mjweather/setting/activity/FeedBackActivity;Ljava/lang/String;)Ljava/lang/String;

    const/4 v1, 0x0

    const/4 v2, 0x0

    :goto_0
    if-ge v2, v0, :cond_3

    .line 553
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/moji/http/ugc/bean/FeedBackData;

    const-string v4, "1"

    .line 554
    iget-object v3, v3, Lcom/moji/http/ugc/bean/FeedBackData;->reply_type:Ljava/lang/String;

    invoke-virtual {v4, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 555
    iget-object v0, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {v0}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->f(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 556
    iget-object v0, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {v0}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->f(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Ljava/util/List;

    move-result-object v0

    iget-object v2, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {v2}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->g(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 557
    iget-object v0, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {v0}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->f(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Ljava/util/List;

    move-result-object v0

    iget-object v2, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {v2}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->f(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    invoke-interface {v0, v2, p1}, Ljava/util/List;->addAll(ILjava/util/Collection;)Z

    .line 558
    iget-object p1, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {p1}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->g(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Ljava/util/List;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/List;->clear()V

    .line 559
    iget-object p1, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {p1}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->g(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Ljava/util/List;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {v0}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->f(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {p1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 560
    iget-object p1, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {p1}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->h(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Ljava/util/List;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    if-lez p1, :cond_1

    .line 561
    iget-object p1, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {p1}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->f(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Ljava/util/List;

    move-result-object p1

    iget-object v0, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {v0}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->f(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    iget-object v2, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {v2}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->h(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Ljava/util/List;

    move-result-object v2

    invoke-interface {p1, v0, v2}, Ljava/util/List;->addAll(ILjava/util/Collection;)Z

    .line 563
    :cond_1
    iget-object p1, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {p1}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->c(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Lcom/moji/mjweather/setting/adapter/FeedMsgViewAdapter;

    move-result-object p1

    invoke-virtual {p1}, Lcom/moji/mjweather/setting/adapter/FeedMsgViewAdapter;->notifyDataSetChanged()V

    .line 564
    iget-object p1, p0, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a:Lcom/moji/mjweather/setting/activity/FeedBackActivity;

    invoke-static {p1}, Lcom/moji/mjweather/setting/activity/FeedBackActivity;->i(Lcom/moji/mjweather/setting/activity/FeedBackActivity;)Z

    move-result p1

    if-nez p1, :cond_3

    const p1, 0x7f0e032f

    .line 565
    invoke-static {p1, v1}, Lcom/moji/tool/ToastTool;->a(II)V

    goto :goto_1

    :cond_2
    add-int/lit8 v2, v2, 0x1

    goto/16 :goto_0

    :cond_3
    :goto_1
    return-void

    :cond_4
    :goto_2
    return-void
.end method

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

    return-void
.end method

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

    .line 543
    check-cast p1, Lcom/moji/http/ugc/bean/FeedBackList;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/setting/activity/FeedBackActivity$7;->a(Lcom/moji/http/ugc/bean/FeedBackList;)V

    return-void
.end method
