99 lines
2.7 KiB
Smali
99 lines
2.7 KiB
Smali
.class Lcom/moji/index/IndexFragment$7;
|
|
.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(Ljava/util/List;I)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Ljava/util/List;
|
|
|
|
.field final synthetic b:I
|
|
|
|
.field final synthetic c:Lcom/moji/index/IndexFragment;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/index/IndexFragment;Ljava/util/List;I)V
|
|
.locals 0
|
|
|
|
.line 399
|
|
iput-object p1, p0, Lcom/moji/index/IndexFragment$7;->c:Lcom/moji/index/IndexFragment;
|
|
|
|
iput-object p2, p0, Lcom/moji/index/IndexFragment$7;->a:Ljava/util/List;
|
|
|
|
iput p3, p0, Lcom/moji/index/IndexFragment$7;->b:I
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onClick(Landroid/view/View;)V
|
|
.locals 5
|
|
|
|
.line 402
|
|
iget-object v0, p0, Lcom/moji/index/IndexFragment$7;->a:Ljava/util/List;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;
|
|
|
|
.line 403
|
|
new-instance v1, Lcom/moji/index/jump/IndexClickListener;
|
|
|
|
new-instance v2, Lcom/moji/index/jump/JumpData;
|
|
|
|
invoke-direct {v2, v0}, Lcom/moji/index/jump/JumpData;-><init>(Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;)V
|
|
|
|
invoke-direct {v1, v2}, Lcom/moji/index/jump/IndexClickListener;-><init>(Lcom/moji/http/show/IWindowData;)V
|
|
|
|
.line 404
|
|
iget-object v2, p0, Lcom/moji/index/IndexFragment$7;->c:Lcom/moji/index/IndexFragment;
|
|
|
|
iget v3, p0, Lcom/moji/index/IndexFragment$7;->b:I
|
|
|
|
const/4 v4, 0x7
|
|
|
|
if-ne v3, v4, :cond_0
|
|
|
|
sget-object v3, Lcom/moji/statistics/EVENT_TAG;->INDEX_BANNER_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v3, Lcom/moji/statistics/EVENT_TAG;->INDEX_OP_BANNER_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
:goto_0
|
|
iget v0, v0, Lcom/moji/http/index/IndexResp$IndexRegionListBean$IndexContentListBean;->content_id:I
|
|
|
|
invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v2, v3, v0}, Lcom/moji/index/IndexFragment;->a(Lcom/moji/index/IndexFragment;Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)V
|
|
|
|
.line 405
|
|
invoke-virtual {v1, p1}, Lcom/moji/index/jump/IndexClickListener;->onClick(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|