SubmitReviewAdapter$onBindViewHolder$1.smali
.class final Lcom/sandboxol/editor/view/fragment/testcenter/submit/SubmitReviewAdapter$onBindViewHolder$1;
.super Ljava/lang/Object;
.source "SubmitReviewAdapter.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;->onBindViewHolder(Landroidx/recyclerview/widget/RecyclerView$v;I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;
.field final synthetic b:I
# direct methods
.method constructor <init>(Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;I)V
.registers 3
iput-object p1, p0, Lcom/sandboxol/editor/view/fragment/testcenter/submit/SubmitReviewAdapter$onBindViewHolder$1;->a:Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;
iput p2, p0, Lcom/sandboxol/editor/view/fragment/testcenter/submit/SubmitReviewAdapter$onBindViewHolder$1;->b:I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.registers 8
.line 1
iget p1, p0, Lcom/sandboxol/editor/view/fragment/testcenter/submit/SubmitReviewAdapter$onBindViewHolder$1;->b:I
if-nez p1, :cond_24
.line 2
sget-object v0, Lcom/sandboxol/editor/domain/d;->a:Lcom/sandboxol/editor/domain/d;
iget-object p1, p0, Lcom/sandboxol/editor/view/fragment/testcenter/submit/SubmitReviewAdapter$onBindViewHolder$1;->a:Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;
invoke-virtual {p1}, Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;->d()Lkotlinx/coroutines/F;
move-result-object v1
iget-object p1, p0, Lcom/sandboxol/editor/view/fragment/testcenter/submit/SubmitReviewAdapter$onBindViewHolder$1;->a:Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;
invoke-virtual {p1}, Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;->b()Landroidx/fragment/app/FragmentActivity;
move-result-object v2
iget-object p1, p0, Lcom/sandboxol/editor/view/fragment/testcenter/submit/SubmitReviewAdapter$onBindViewHolder$1;->a:Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;
invoke-virtual {p1}, Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;->f()Ljava/lang/String;
move-result-object v3
iget-object p1, p0, Lcom/sandboxol/editor/view/fragment/testcenter/submit/SubmitReviewAdapter$onBindViewHolder$1;->a:Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;
invoke-virtual {p1}, Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;->e()Lrx/functions/Action0;
move-result-object v5
const-string v4, ""
invoke-virtual/range {v0 .. v5}, Lcom/sandboxol/editor/domain/d;->a(Lkotlinx/coroutines/F;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lrx/functions/Action0;)V
goto :goto_42
.line 3
:cond_24
iget-object p1, p0, Lcom/sandboxol/editor/view/fragment/testcenter/submit/SubmitReviewAdapter$onBindViewHolder$1;->a:Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;
invoke-virtual {p1}, Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;->c()Ljava/util/List;
move-result-object p1
iget v0, p0, Lcom/sandboxol/editor/view/fragment/testcenter/submit/SubmitReviewAdapter$onBindViewHolder$1;->b:I
add-int/lit8 v0, v0, -0x1
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/sandboxol/center/entity/PublishedGame;
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameId()Ljava/lang/String;
move-result-object p1
.line 4
iget-object v0, p0, Lcom/sandboxol/editor/view/fragment/testcenter/submit/SubmitReviewAdapter$onBindViewHolder$1;->a:Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;
const-string v1, "id"
invoke-static {p1, v1}, Lkotlin/jvm/internal/i;->b(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, p1}, Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;->a(Lcom/sandboxol/editor/view/fragment/testcenter/submit/a;Ljava/lang/String;)V
:goto_42
return-void
.end method