Weather/smali_classes3/com/moji/user/homepage/PerMothPictureAdapter$FooterViewHolder.smali
2021-05-10 10:13:34 +02:00

126 lines
4.4 KiB
Smali

.class Lcom/moji/user/homepage/PerMothPictureAdapter$FooterViewHolder;
.super Landroid/support/v7/widget/RecyclerView$ViewHolder;
.source "PerMothPictureAdapter.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/moji/user/homepage/PerMothPictureAdapter;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2
name = "FooterViewHolder"
.end annotation
# instance fields
.field final synthetic n:Lcom/moji/user/homepage/PerMothPictureAdapter;
# direct methods
.method public constructor <init>(Lcom/moji/user/homepage/PerMothPictureAdapter;Landroid/view/View;)V
.locals 1
.line 211
iput-object p1, p0, Lcom/moji/user/homepage/PerMothPictureAdapter$FooterViewHolder;->n:Lcom/moji/user/homepage/PerMothPictureAdapter;
.line 212
invoke-direct {p0, p2}, Landroid/support/v7/widget/RecyclerView$ViewHolder;-><init>(Landroid/view/View;)V
.line 213
check-cast p2, Lcom/moji/mjweather/ipc/view/CommentFooterView;
invoke-static {p1, p2}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a(Lcom/moji/user/homepage/PerMothPictureAdapter;Lcom/moji/mjweather/ipc/view/CommentFooterView;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
.line 214
invoke-static {p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a(Lcom/moji/user/homepage/PerMothPictureAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
move-result-object p2
const/16 v0, 0x2c
invoke-virtual {p2, v0}, Lcom/moji/mjweather/ipc/view/CommentFooterView;->setFooterViewHeight(I)V
.line 215
invoke-static {p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a(Lcom/moji/user/homepage/PerMothPictureAdapter;)Lcom/moji/mjweather/ipc/view/CommentFooterView;
move-result-object p2
const-string v0, "#ffffff"
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 216
invoke-static {p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a(Lcom/moji/user/homepage/PerMothPictureAdapter;)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 217
invoke-static {p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a(Lcom/moji/user/homepage/PerMothPictureAdapter;)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 218
invoke-static {p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a(Lcom/moji/user/homepage/PerMothPictureAdapter;)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 219
invoke-static {p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a(Lcom/moji/user/homepage/PerMothPictureAdapter;)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 220
invoke-static {p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a(Lcom/moji/user/homepage/PerMothPictureAdapter;)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 221
invoke-static {p1}, Lcom/moji/user/homepage/PerMothPictureAdapter;->a(Lcom/moji/user/homepage/PerMothPictureAdapter;)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