135 lines
5.3 KiB
Smali
135 lines
5.3 KiB
Smali
.class public Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$FooterViewHolder;
|
|
.super Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.source "AbsDetailAdapter.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x4
|
|
name = "FooterViewHolder"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic n:Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
.line 613
|
|
iput-object p1, p0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$FooterViewHolder;->n:Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;
|
|
|
|
.line 614
|
|
invoke-direct {p0, p2}, Landroid/support/v7/widget/RecyclerView$ViewHolder;-><init>(Landroid/view/View;)V
|
|
|
|
.line 615
|
|
check-cast p2, Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
invoke-static {p1, p2}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->a(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;Lcom/moji/mjweather/ipc/view/CommentFooterView;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
.line 616
|
|
invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->b(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
const/16 v0, 0x8
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setVisibility(I)V
|
|
|
|
.line 617
|
|
invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->b(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
sget v0, Lcom/moji/mjweather/feed/R$color;->c_4294ea:I
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setDoneTextColor(I)V
|
|
|
|
.line 618
|
|
invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->b(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->b(Z)V
|
|
|
|
.line 619
|
|
invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->b(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
sget v0, Lcom/moji/mjweather/feed/R$string;->footer_load_more_3:I
|
|
|
|
invoke-static {v0}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setDoneText(Ljava/lang/String;)V
|
|
|
|
.line 620
|
|
invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->b(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
sget v0, Lcom/moji/mjweather/feed/R$string;->loading_more:I
|
|
|
|
invoke-static {v0}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setLoadingText(Ljava/lang/String;)V
|
|
|
|
.line 621
|
|
invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->b(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
sget v0, Lcom/moji/mjweather/feed/R$string;->no_more_comment_1:I
|
|
|
|
invoke-static {v0}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setNoMoreText(Ljava/lang/String;)V
|
|
|
|
.line 622
|
|
invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->b(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
sget v0, Lcom/moji/mjweather/feed/R$string;->server_error:I
|
|
|
|
invoke-static {v0}, Lcom/moji/tool/DeviceTool;->f(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setFailText(Ljava/lang/String;)V
|
|
|
|
.line 623
|
|
invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->b(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p1, p2}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->a(Lcom/moji/mjweather/ipc/view/CommentFooterView;)V
|
|
|
|
.line 624
|
|
invoke-static {p1}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;->b(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
new-instance v0, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$FooterViewHolder$1;
|
|
|
|
invoke-direct {v0, p0, p1}, Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$FooterViewHolder$1;-><init>(Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter$FooterViewHolder;Lcom/moji/mjweather/feed/adapter/AbsDetailAdapter;)V
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
return-void
|
|
.end method
|