TestCenterAdapter$onBindViewHolder$1.smali

.class final Lcom/sandboxol/editor/view/fragment/testcenter/TestCenterAdapter$onBindViewHolder$1;
.super Ljava/lang/Object;
.source "TestCenterAdapter.kt"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/editor/view/fragment/testcenter/b;->a(Lcom/sandboxol/editor/view/fragment/testcenter/b$a;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroid/content/Context;

.field final synthetic b:Lcom/sandboxol/editor/domain/BetaGame;


# direct methods
.method constructor <init>(Landroid/content/Context;Lcom/sandboxol/editor/domain/BetaGame;)V
    .registers 3

    iput-object p1, p0, Lcom/sandboxol/editor/view/fragment/testcenter/TestCenterAdapter$onBindViewHolder$1;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/sandboxol/editor/view/fragment/testcenter/TestCenterAdapter$onBindViewHolder$1;->b:Lcom/sandboxol/editor/domain/BetaGame;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .registers 4

    .line 1
    iget-object p1, p0, Lcom/sandboxol/editor/view/fragment/testcenter/TestCenterAdapter$onBindViewHolder$1;->a:Landroid/content/Context;

    iget-object v0, p0, Lcom/sandboxol/editor/view/fragment/testcenter/TestCenterAdapter$onBindViewHolder$1;->b:Lcom/sandboxol/editor/domain/BetaGame;

    const-string v1, ""

    invoke-static {p1, v1, v0}, Lcom/sandboxol/center/router/manager/GameDetailManager;->enterGameDetailFullscreen(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/greendao/entity/Game;)V

    .line 2
    iget-object p1, p0, Lcom/sandboxol/editor/view/fragment/testcenter/TestCenterAdapter$onBindViewHolder$1;->a:Landroid/content/Context;

    iget-object v0, p0, Lcom/sandboxol/editor/view/fragment/testcenter/TestCenterAdapter$onBindViewHolder$1;->b:Lcom/sandboxol/editor/domain/BetaGame;

    invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getGameId()Ljava/lang/String;

    move-result-object v0

    const-string v1, "test_click_gamedetails"

    invoke-static {p1, v1, v0}, Lcom/sandboxol/common/interfaces/ReportDataAdapter;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method