135 lines
4.9 KiB
Smali
135 lines
4.9 KiB
Smali
.class Lcom/moji/user/homepage/HotPictureRecyclerAdapter$FooterViewHolder;
|
|
.super Landroid/support/v7/widget/RecyclerView$ViewHolder;
|
|
.source "HotPictureRecyclerAdapter.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/moji/user/homepage/HotPictureRecyclerAdapter;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x2
|
|
name = "FooterViewHolder"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic n:Lcom/moji/user/homepage/HotPictureRecyclerAdapter;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/moji/user/homepage/HotPictureRecyclerAdapter;Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
.line 164
|
|
iput-object p1, p0, Lcom/moji/user/homepage/HotPictureRecyclerAdapter$FooterViewHolder;->n:Lcom/moji/user/homepage/HotPictureRecyclerAdapter;
|
|
|
|
.line 165
|
|
invoke-direct {p0, p2}, Landroid/support/v7/widget/RecyclerView$ViewHolder;-><init>(Landroid/view/View;)V
|
|
|
|
.line 166
|
|
check-cast p2, Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
invoke-static {p1, p2}, Lcom/moji/user/homepage/HotPictureRecyclerAdapter;->a(Lcom/moji/user/homepage/HotPictureRecyclerAdapter;Lcom/moji/mjweather/ipc/view/CommentFooterView;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
.line 167
|
|
invoke-static {p1}, Lcom/moji/user/homepage/HotPictureRecyclerAdapter;->a(Lcom/moji/user/homepage/HotPictureRecyclerAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
const/4 v0, -0x2
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setFooterViewHeight(I)V
|
|
|
|
.line 168
|
|
invoke-static {p1}, Lcom/moji/user/homepage/HotPictureRecyclerAdapter;->a(Lcom/moji/user/homepage/HotPictureRecyclerAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
const/16 v0, 0x2c
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setFooterMinHeight(I)V
|
|
|
|
.line 169
|
|
invoke-static {p1}, Lcom/moji/user/homepage/HotPictureRecyclerAdapter;->a(Lcom/moji/user/homepage/HotPictureRecyclerAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v0, "#F8F8F8"
|
|
|
|
invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setBackgroundColor(I)V
|
|
|
|
.line 170
|
|
invoke-static {p1}, Lcom/moji/user/homepage/HotPictureRecyclerAdapter;->a(Lcom/moji/user/homepage/HotPictureRecyclerAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
sget v0, Lcom/moji/user/R$color;->c_999999:I
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setTextColor(I)V
|
|
|
|
.line 171
|
|
invoke-static {p1}, Lcom/moji/user/homepage/HotPictureRecyclerAdapter;->a(Lcom/moji/user/homepage/HotPictureRecyclerAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
sget v0, Lcom/moji/user/R$string;->pull_up_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 172
|
|
invoke-static {p1}, Lcom/moji/user/homepage/HotPictureRecyclerAdapter;->a(Lcom/moji/user/homepage/HotPictureRecyclerAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
sget v0, Lcom/moji/user/R$string;->liveview_no_more_comment: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 173
|
|
invoke-static {p1}, Lcom/moji/user/homepage/HotPictureRecyclerAdapter;->a(Lcom/moji/user/homepage/HotPictureRecyclerAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
sget v0, Lcom/moji/user/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 174
|
|
invoke-static {p1}, Lcom/moji/user/homepage/HotPictureRecyclerAdapter;->a(Lcom/moji/user/homepage/HotPictureRecyclerAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->a(Z)V
|
|
|
|
.line 175
|
|
invoke-static {p1}, Lcom/moji/user/homepage/HotPictureRecyclerAdapter;->a(Lcom/moji/user/homepage/HotPictureRecyclerAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
|
|
|
|
move-result-object p1
|
|
|
|
const/16 p2, 0x8
|
|
|
|
invoke-virtual {p1, p2}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setVisibility(I)V
|
|
|
|
return-void
|
|
.end method
|