Weather/smali_classes2/com/moji/index/IndexFragment$4.smali
2021-05-10 10:13:34 +02:00

88 lines
3.0 KiB
Smali

.class Lcom/moji/index/IndexFragment$4;
.super Ljava/lang/Object;
.source "IndexFragment.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/moji/index/IndexFragment;->a(Lcom/moji/http/index/IndexResp$IndexRegionListBean;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;
.field final synthetic b:Lcom/moji/index/IndexFragment;
# direct methods
.method constructor <init>(Lcom/moji/index/IndexFragment;Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;)V
.locals 0
.line 227
iput-object p1, p0, Lcom/moji/index/IndexFragment$4;->b:Lcom/moji/index/IndexFragment;
iput-object p2, p0, Lcom/moji/index/IndexFragment$4;->a:Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/view/View;)V
.locals 5
.line 230
new-instance v0, Lcom/moji/index/jump/IndexClickListener;
new-instance v1, Lcom/moji/index/jump/JumpData;
iget-object v2, p0, Lcom/moji/index/IndexFragment$4;->a:Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;
invoke-direct {v1, v2}, Lcom/moji/index/jump/JumpData;-><init>(Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;)V
const-string v2, "article"
iget-object v3, p0, Lcom/moji/index/IndexFragment$4;->b:Lcom/moji/index/IndexFragment;
invoke-static {v3}, Lcom/moji/index/IndexFragment;->c(Lcom/moji/index/IndexFragment;)Ljava/lang/String;
move-result-object v3
iget-object v4, p0, Lcom/moji/index/IndexFragment$4;->a:Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;
iget v4, v4, Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;->content_id:I
invoke-direct {v0, v1, v2, v3, v4}, Lcom/moji/index/jump/IndexClickListener;-><init>(Lcom/moji/http/show/IWindowData;Ljava/lang/String;Ljava/lang/String;I)V
.line 231
iget-object v1, p0, Lcom/moji/index/IndexFragment$4;->b:Lcom/moji/index/IndexFragment;
sget-object v2, Lcom/moji/statistics/EVENT_TAG;->INDEX_ARTICLE_CLICK:Lcom/moji/statistics/EVENT_TAG;
iget-object v3, p0, Lcom/moji/index/IndexFragment$4;->a:Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;
iget v3, v3, Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;->content_id:I
invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v3
invoke-static {v1, v2, v3}, Lcom/moji/index/IndexFragment;->a(Lcom/moji/index/IndexFragment;Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)V
.line 232
invoke-virtual {v0, p1}, Lcom/moji/index/jump/IndexClickListener;->onClick(Landroid/view/View;)V
return-void
.end method