.class Lcom/moji/mjweather/feed/AbsDetailsActivity$11;
.super Ljava/lang/Object;
.source "AbsDetailsActivity.java"

# interfaces
.implements Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewReplyCommentView$OnReplyCommentListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/mjweather/feed/AbsDetailsActivity;
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjweather/feed/AbsDetailsActivity;


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

    .line 946
    iput-object p1, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$11;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(J)V
    .locals 2

    .line 979
    invoke-static {}, Lcom/moji/account/data/AccountProvider;->a()Lcom/moji/account/data/AccountProvider;

    move-result-object v0

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

    invoke-virtual {v0, v1, p1, p2}, Lcom/moji/account/data/AccountProvider;->a(Landroid/content/Context;J)V

    return-void
.end method

.method public a(Landroid/view/View;Lcom/moji/http/snsforum/ILiveViewComment;)V
    .locals 3

    .line 949
    iget-object v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$11;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;

    iget-object v0, v0, Lcom/moji/mjweather/feed/AbsDetailsActivity;->K:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    if-nez v0, :cond_0

    .line 950
    iget-object v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$11;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;

    new-instance v1, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    iget-object v2, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$11;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;

    invoke-direct {v1, v2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;-><init>(Landroid/content/Context;)V

    iput-object v1, v0, Lcom/moji/mjweather/feed/AbsDetailsActivity;->K:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    .line 951
    iget-object v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$11;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;

    iget-object v0, v0, Lcom/moji/mjweather/feed/AbsDetailsActivity;->K:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

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

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a(Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow$OnMenuItemClickListener;)V

    .line 954
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$11;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;

    iget-object v0, v0, Lcom/moji/mjweather/feed/AbsDetailsActivity;->K:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    invoke-virtual {v0}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a()Z

    move-result v0

    if-nez v0, :cond_3

    .line 955
    invoke-static {}, Lcom/moji/account/data/AccountProvider;->a()Lcom/moji/account/data/AccountProvider;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/account/data/AccountProvider;->f()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 956
    invoke-static {}, Lcom/moji/account/data/AccountProvider;->a()Lcom/moji/account/data/AccountProvider;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/account/data/AccountProvider;->d()Ljava/lang/String;

    move-result-object v0

    .line 957
    invoke-interface {p2}, Lcom/moji/http/snsforum/ILiveViewComment;->getSnsId()J

    move-result-wide v1

    invoke-static {v1, v2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v1

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

    move-result v0

    if-eqz v0, :cond_1

    .line 958
    iget-object v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$11;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;

    iget-object v0, v0, Lcom/moji/mjweather/feed/AbsDetailsActivity;->K:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    sget v1, Lcom/moji/mjweather/feed/R$string;->delete:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, p1, v1, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a(Landroid/view/View;Ljava/lang/String;Ljava/lang/Object;)V

    goto :goto_0

    .line 960
    :cond_1
    instance-of v0, p2, Lcom/moji/http/fdsapi/entity/FeedComment$Comment;

    if-eqz v0, :cond_3

    .line 961
    iget-object v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$11;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;

    iget-object v0, v0, Lcom/moji/mjweather/feed/AbsDetailsActivity;->K:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    sget v1, Lcom/moji/mjweather/feed/R$string;->reply:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, p1, v1, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a(Landroid/view/View;Ljava/lang/String;Ljava/lang/Object;)V

    goto :goto_0

    .line 965
    :cond_2
    instance-of v0, p2, Lcom/moji/http/fdsapi/entity/FeedComment$Comment;

    if-eqz v0, :cond_3

    .line 966
    iget-object v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$11;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;

    iget-object v0, v0, Lcom/moji/mjweather/feed/AbsDetailsActivity;->K:Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;

    sget v1, Lcom/moji/mjweather/feed/R$string;->reply:I

    invoke-static {v1}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, p1, v1, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/MenuPopWindow;->a(Landroid/view/View;Ljava/lang/String;Ljava/lang/Object;)V

    :cond_3
    :goto_0
    return-void
.end method

.method public v_()V
    .locals 1

    .line 974
    iget-object v0, p0, Lcom/moji/mjweather/feed/AbsDetailsActivity$11;->a:Lcom/moji/mjweather/feed/AbsDetailsActivity;

    iget-object v0, v0, Lcom/moji/mjweather/feed/AbsDetailsActivity;->s:Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;

    invoke-virtual {v0}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->c()V

    return-void
.end method
