.class public Lcom/moji/newliveview/subject/cell/DetailCommentCell; .super Lcom/moji/newliveview/dynamic/base/BaseCell; .source "DetailCommentCell.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/moji/newliveview/subject/cell/DetailCommentCell$OnReplyCommentListener; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lcom/moji/newliveview/dynamic/base/BaseCell<", "Lcom/moji/http/snsforum/entity/PictureComment;", ">;" } .end annotation # instance fields .field private a:Landroid/content/Context; .field private b:Lcom/moji/newliveview/subject/cell/DetailCommentCell$OnReplyCommentListener; .field private d:Lcom/moji/mjweather/ipc/view/liveviewcomment/CommentView; # direct methods .method public constructor (Lcom/moji/http/snsforum/entity/PictureComment;)V .locals 0 .line 28 invoke-direct {p0, p1}, Lcom/moji/newliveview/dynamic/base/BaseCell;->(Ljava/lang/Object;)V return-void .end method .method static synthetic a(Lcom/moji/newliveview/subject/cell/DetailCommentCell;)Landroid/content/Context; .locals 0 .line 21 iget-object p0, p0, Lcom/moji/newliveview/subject/cell/DetailCommentCell;->a:Landroid/content/Context; return-object p0 .end method .method static synthetic b(Lcom/moji/newliveview/subject/cell/DetailCommentCell;)Ljava/lang/Object; .locals 0 .line 21 iget-object p0, p0, Lcom/moji/newliveview/subject/cell/DetailCommentCell;->c:Ljava/lang/Object; return-object p0 .end method .method static synthetic c(Lcom/moji/newliveview/subject/cell/DetailCommentCell;)Lcom/moji/mjweather/ipc/view/liveviewcomment/CommentView; .locals 0 .line 21 iget-object p0, p0, Lcom/moji/newliveview/subject/cell/DetailCommentCell;->d:Lcom/moji/mjweather/ipc/view/liveviewcomment/CommentView; return-object p0 .end method # virtual methods .method public a()I .locals 1 const/16 v0, 0x8 return v0 .end method .method public a(Landroid/view/ViewGroup;I)Lcom/moji/newliveview/dynamic/base/CustomViewHolder; .locals 0 .line 39 new-instance p2, Lcom/moji/mjweather/ipc/view/liveviewcomment/CommentView; invoke-virtual {p1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context; move-result-object p1 invoke-direct {p2, p1}, Lcom/moji/mjweather/ipc/view/liveviewcomment/CommentView;->(Landroid/content/Context;)V .line 40 new-instance p1, Lcom/moji/newliveview/dynamic/base/CustomViewHolder; invoke-direct {p1, p2}, Lcom/moji/newliveview/dynamic/base/CustomViewHolder;->(Landroid/view/View;)V return-object p1 .end method .method public a(Lcom/moji/newliveview/dynamic/base/CustomViewHolder;I)V .locals 0 .line 45 iget-object p2, p0, Lcom/moji/newliveview/subject/cell/DetailCommentCell;->c:Ljava/lang/Object; if-nez p2, :cond_0 .line 46 iget-object p1, p1, Lcom/moji/newliveview/dynamic/base/CustomViewHolder;->a:Landroid/view/View; const/16 p2, 0x8 invoke-virtual {p1, p2}, Landroid/view/View;->setVisibility(I)V return-void .line 49 :cond_0 invoke-virtual {p1}, Lcom/moji/newliveview/dynamic/base/CustomViewHolder;->y()Landroid/content/Context; move-result-object p2 iput-object p2, p0, Lcom/moji/newliveview/subject/cell/DetailCommentCell;->a:Landroid/content/Context; .line 50 invoke-virtual {p1}, Lcom/moji/newliveview/dynamic/base/CustomViewHolder;->z()Landroid/view/View; move-result-object p1 check-cast p1, Lcom/moji/mjweather/ipc/view/liveviewcomment/CommentView; iput-object p1, p0, Lcom/moji/newliveview/subject/cell/DetailCommentCell;->d:Lcom/moji/mjweather/ipc/view/liveviewcomment/CommentView; .line 51 iget-object p1, p0, Lcom/moji/newliveview/subject/cell/DetailCommentCell;->d:Lcom/moji/mjweather/ipc/view/liveviewcomment/CommentView; iget-object p2, p0, Lcom/moji/newliveview/subject/cell/DetailCommentCell;->c:Ljava/lang/Object; check-cast p2, Lcom/moji/http/snsforum/ILiveViewComment; invoke-virtual {p1, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/CommentView;->setComment(Lcom/moji/http/snsforum/ILiveViewComment;)V .line 53 new-instance p1, Lcom/moji/newliveview/subject/cell/DetailCommentCell$OnReplyCommentListener; const/4 p2, 0x0 invoke-direct {p1, p0, p2}, Lcom/moji/newliveview/subject/cell/DetailCommentCell$OnReplyCommentListener;->(Lcom/moji/newliveview/subject/cell/DetailCommentCell;Lcom/moji/newliveview/subject/cell/DetailCommentCell$1;)V iput-object p1, p0, Lcom/moji/newliveview/subject/cell/DetailCommentCell;->b:Lcom/moji/newliveview/subject/cell/DetailCommentCell$OnReplyCommentListener; .line 54 iget-object p1, p0, Lcom/moji/newliveview/subject/cell/DetailCommentCell;->d:Lcom/moji/mjweather/ipc/view/liveviewcomment/CommentView; iget-object p2, p0, Lcom/moji/newliveview/subject/cell/DetailCommentCell;->b:Lcom/moji/newliveview/subject/cell/DetailCommentCell$OnReplyCommentListener; invoke-virtual {p1, p2}, Lcom/moji/mjweather/ipc/view/liveviewcomment/CommentView;->setOnReplyCommentListener(Lcom/moji/mjweather/ipc/view/liveviewcomment/LiveViewReplyCommentView$OnReplyCommentListener;)V return-void .end method