117 lines
3.2 KiB
Smali
117 lines
3.2 KiB
Smali
.class Lcom/moji/index/ArticleAdapter$ArticleOneHolder;
|
|
.super Lcom/moji/index/ArticleAdapter$NormalHolder;
|
|
.source "ArticleAdapter.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/moji/index/ArticleAdapter;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x2
|
|
name = "ArticleOneHolder"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/index/ArticleAdapter;
|
|
|
|
.field private g:Landroid/widget/ImageView;
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>(Lcom/moji/index/ArticleAdapter;)V
|
|
.locals 0
|
|
|
|
.line 65
|
|
iput-object p1, p0, Lcom/moji/index/ArticleAdapter$ArticleOneHolder;->a:Lcom/moji/index/ArticleAdapter;
|
|
|
|
invoke-direct {p0, p1}, Lcom/moji/index/ArticleAdapter$NormalHolder;-><init>(Lcom/moji/index/ArticleAdapter;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method synthetic constructor <init>(Lcom/moji/index/ArticleAdapter;Lcom/moji/index/ArticleAdapter$1;)V
|
|
.locals 0
|
|
|
|
.line 65
|
|
invoke-direct {p0, p1}, Lcom/moji/index/ArticleAdapter$ArticleOneHolder;-><init>(Lcom/moji/index/ArticleAdapter;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(I)I
|
|
.locals 0
|
|
|
|
.line 85
|
|
sget p1, Lcom/moji/index/R$layout;->article_item:I
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public a(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
.line 71
|
|
invoke-super {p0, p1}, Lcom/moji/index/ArticleAdapter$NormalHolder;->a(Landroid/view/View;)V
|
|
|
|
.line 72
|
|
sget v0, Lcom/moji/index/R$id;->image:I
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/widget/ImageView;
|
|
|
|
iput-object p1, p0, Lcom/moji/index/ArticleAdapter$ArticleOneHolder;->g:Landroid/widget/ImageView;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;I)V
|
|
.locals 1
|
|
|
|
.line 77
|
|
invoke-super {p0, p1, p2}, Lcom/moji/index/ArticleAdapter$NormalHolder;->a(Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;I)V
|
|
|
|
.line 78
|
|
iget-object p2, p1, Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;->picture_path_list:Ljava/util/List;
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 79
|
|
iget-object p2, p0, Lcom/moji/index/ArticleAdapter$ArticleOneHolder;->g:Landroid/widget/ImageView;
|
|
|
|
iget-object p1, p1, Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;->picture_path_list:Ljava/util/List;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
sget v0, Lcom/moji/index/R$drawable;->zaker_default_image:I
|
|
|
|
invoke-static {p2, p1, v0}, Lcom/moji/tool/ImageTool;->a(Landroid/widget/ImageView;Ljava/lang/String;I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic a(Ljava/lang/Object;I)V
|
|
.locals 0
|
|
|
|
.line 65
|
|
check-cast p1, Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/moji/index/ArticleAdapter$ArticleOneHolder;->a(Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;I)V
|
|
|
|
return-void
|
|
.end method
|