c.smali
.class public Lcom/sandboxol/halloween/binding/adapter/c;
.super Ljava/lang/Object;
.source "RewardItemAdapter.java"
# direct methods
.method public static a(Landroid/view/View;ZLjava/lang/String;)V
.registers 3
if-eqz p0, :cond_21
if-eqz p1, :cond_f
.line 1
:try_start_4
invoke-static {}, Lcom/sandboxol/common/base/app/BaseApplication;->getContext()Landroid/content/Context;
move-result-object p1
sget p2, Lcom/sandboxol/halloween/R$mipmap;->event_reward_item_checked:I
invoke-static {p1, p2}, Landroidx/core/content/b;->c(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
move-result-object p1
goto :goto_19
.line 2
:cond_f
invoke-static {}, Lcom/sandboxol/common/base/app/BaseApplication;->getContext()Landroid/content/Context;
move-result-object p1
sget p2, Lcom/sandboxol/halloween/R$mipmap;->event_reward_item_normal:I
invoke-static {p1, p2}, Landroidx/core/content/b;->c(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
move-result-object p1
.line 3
:goto_19
invoke-virtual {p0, p1}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V
:try_end_1c
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_1c} :catch_1d
goto :goto_21
:catch_1d
move-exception p0
.line 4
invoke-virtual {p0}, Ljava/lang/Exception;->printStackTrace()V
:cond_21
:goto_21
return-void
.end method