.class Lcom/moji/mjweather/feed/AbsDetailsActivity$10;
.super Lcom/moji/requestcore/MJBaseHttpCallback;
.source "AbsDetailsActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/feed/AbsDetailsActivity;->a(Lcom/moji/praise/PraiseView;Z)Lcom/moji/requestcore/MJBaseHttpCallback;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/requestcore/MJBaseHttpCallback<",
        "Lcom/moji/http/fdsapi/entity/FeedPraise;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/praise/PraiseView;

.field final synthetic b:Lcom/moji/mjweather/feed/AbsDetailsActivity;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/feed/AbsDetailsActivity;Lcom/moji/praise/PraiseView;)V
    .locals 0

    .line 923
    iput-object p1, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$10;->b:Lcom/moji/mjweather/feed/AbsDetailsActivity;

    iput-object p2, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$10;->a:Lcom/moji/praise/PraiseView;

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

    return-void
.end method


# virtual methods
.method protected a(Lcom/moji/http/fdsapi/entity/FeedPraise;)V
    .locals 2

    .line 926
    iget-object v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$10;->b:Lcom/moji/mjweather/feed/AbsDetailsActivity;

    iget v1, p1, Lcom/moji/http/fdsapi/entity/FeedPraise;->praise_number:I

    iget p1, p1, Lcom/moji/http/fdsapi/entity/FeedPraise;->praise_count:I

    invoke-static {v1, p1}, Ljava/lang/Math;->max(II)I

    move-result p1

    iget-object v1, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$10;->a:Lcom/moji/praise/PraiseView;

    invoke-static {v0, p1, v1}, Lcom/moji/mjweather/feed/AbsDetailsActivity;->a(Lcom/moji/mjweather/feed/AbsDetailsActivity;ILcom/moji/praise/PraiseView;)V

    return-void
.end method

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

    return-void
.end method

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

    .line 923
    check-cast p1, Lcom/moji/http/fdsapi/entity/FeedPraise;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/feed/AbsDetailsActivity$10;->a(Lcom/moji/http/fdsapi/entity/FeedPraise;)V

    return-void
.end method
