c.smali
.class public final Lcom/sandboxol/editor/view/fragment/testcenter/c;
.super Landroidx/recyclerview/widget/s$a;
.source "TestCenterAdapter.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/editor/view/fragment/testcenter/b;->a(Ljava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/sandboxol/editor/view/fragment/testcenter/b;
.field final synthetic b:Ljava/util/List;
# direct methods
.method constructor <init>(Lcom/sandboxol/editor/view/fragment/testcenter/b;Ljava/util/List;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List;",
")V"
}
.end annotation
.line 1
iput-object p1, p0, Lcom/sandboxol/editor/view/fragment/testcenter/c;->a:Lcom/sandboxol/editor/view/fragment/testcenter/b;
iput-object p2, p0, Lcom/sandboxol/editor/view/fragment/testcenter/c;->b:Ljava/util/List;
invoke-direct {p0}, Landroidx/recyclerview/widget/s$a;-><init>()V
return-void
.end method
# virtual methods
.method public a()I
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/editor/view/fragment/testcenter/c;->b:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
return v0
.end method
.method public a(II)Z
.registers 5
.line 2
iget-object v0, p0, Lcom/sandboxol/editor/view/fragment/testcenter/c;->a:Lcom/sandboxol/editor/view/fragment/testcenter/b;
invoke-static {v0}, Lcom/sandboxol/editor/view/fragment/testcenter/b;->a(Lcom/sandboxol/editor/view/fragment/testcenter/b;)Ljava/util/List;
move-result-object v0
invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/sandboxol/editor/domain/BetaGame;
invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/Game;->getGameCoverPic()Ljava/lang/String;
move-result-object v0
iget-object v1, p0, Lcom/sandboxol/editor/view/fragment/testcenter/c;->b:Ljava/util/List;
invoke-interface {v1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/sandboxol/editor/domain/BetaGame;
invoke-virtual {v1}, Lcom/sandboxol/greendao/entity/Game;->getGameCoverPic()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lkotlin/jvm/internal/i;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_46
.line 3
iget-object v0, p0, Lcom/sandboxol/editor/view/fragment/testcenter/c;->a:Lcom/sandboxol/editor/view/fragment/testcenter/b;
invoke-static {v0}, Lcom/sandboxol/editor/view/fragment/testcenter/b;->a(Lcom/sandboxol/editor/view/fragment/testcenter/b;)Ljava/util/List;
move-result-object v0
invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/sandboxol/editor/domain/BetaGame;
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameTitle()Ljava/lang/String;
move-result-object p1
iget-object v0, p0, Lcom/sandboxol/editor/view/fragment/testcenter/c;->b:Ljava/util/List;
invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcom/sandboxol/editor/domain/BetaGame;
invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/Game;->getGameTitle()Ljava/lang/String;
move-result-object p2
invoke-static {p1, p2}, Lkotlin/jvm/internal/i;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_46
const/4 p1, 0x1
goto :goto_47
:cond_46
const/4 p1, 0x0
:goto_47
return p1
.end method
.method public b()I
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/editor/view/fragment/testcenter/c;->a:Lcom/sandboxol/editor/view/fragment/testcenter/b;
invoke-static {v0}, Lcom/sandboxol/editor/view/fragment/testcenter/b;->a(Lcom/sandboxol/editor/view/fragment/testcenter/b;)Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
return v0
.end method
.method public b(II)Z
.registers 4
.line 2
iget-object v0, p0, Lcom/sandboxol/editor/view/fragment/testcenter/c;->a:Lcom/sandboxol/editor/view/fragment/testcenter/b;
invoke-static {v0}, Lcom/sandboxol/editor/view/fragment/testcenter/b;->a(Lcom/sandboxol/editor/view/fragment/testcenter/b;)Ljava/util/List;
move-result-object v0
invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/sandboxol/editor/domain/BetaGame;
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/Game;->getGameId()Ljava/lang/String;
move-result-object p1
iget-object v0, p0, Lcom/sandboxol/editor/view/fragment/testcenter/c;->b:Ljava/util/List;
invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcom/sandboxol/editor/domain/BetaGame;
invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/Game;->getGameId()Ljava/lang/String;
move-result-object p2
invoke-static {p1, p2}, Lkotlin/jvm/internal/i;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
return p1
.end method