ChestFragment.smali

.class public final Lcom/sandboxol/halloween/view/template/fragment/chest/ChestFragment;
.super Lcom/sandboxol/halloween/view/template/BaseEventTemplateFragment;
.source "ChestFragment.kt"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/sandboxol/halloween/view/template/BaseEventTemplateFragment<",
        "Lcom/sandboxol/halloween/view/template/fragment/chest/j;",
        "Lcom/sandboxol/halloween/b/u;",
        ">;"
    }
.end annotation


# instance fields
.field private d:Ljava/util/HashMap;


# direct methods
.method public constructor <init>()V
    .registers 1

    .line 1
    invoke-direct {p0}, Lcom/sandboxol/halloween/view/template/BaseEventTemplateFragment;-><init>()V

    return-void
.end method

.method public static final synthetic a(Lcom/sandboxol/halloween/view/template/fragment/chest/ChestFragment;)Landroid/content/Context;
    .registers 1

    .line 1
    iget-object p0, p0, Lcom/sandboxol/common/base/app/BaseFragment;->context:Landroid/content/Context;

    return-object p0
.end method

.method public static final synthetic b(Lcom/sandboxol/halloween/view/template/fragment/chest/ChestFragment;)Lcom/sandboxol/halloween/view/template/fragment/chest/j;
    .registers 1

    .line 1
    iget-object p0, p0, Lcom/sandboxol/common/base/app/BaseFragment;->viewModel:Lcom/sandboxol/common/base/viewmodel/ViewModel;

    check-cast p0, Lcom/sandboxol/halloween/view/template/fragment/chest/j;

    return-object p0
.end method


# virtual methods
.method public _$_clearFindViewByIdCache()V
    .registers 2

    iget-object v0, p0, Lcom/sandboxol/halloween/view/template/fragment/chest/ChestFragment;->d:Ljava/util/HashMap;

    if-eqz v0, :cond_7

    invoke-virtual {v0}, Ljava/util/HashMap;->clear()V

    :cond_7
    return-void
.end method

.method protected a(Lcom/sandboxol/halloween/b/u;Lcom/sandboxol/halloween/view/template/fragment/chest/j;)V
    .registers 3

    if-eqz p1, :cond_5

    .line 2
    invoke-virtual {p1, p2}, Lcom/sandboxol/halloween/b/u;->a(Lcom/sandboxol/halloween/view/template/fragment/chest/j;)V

    :cond_5
    return-void
.end method

.method protected a(Lcom/sandboxol/halloween/view/template/BaseEventTemplateFragment$a;)V
    .registers 4

    .line 3
    invoke-static {}, Lcom/sandboxol/halloween/view/template/c;->d()Lcom/sandboxol/halloween/view/template/c;

    move-result-object v0

    const-string v1, "EventInfoCacheManager.getInstance()"

    invoke-static {v0, v1}, Lkotlin/jvm/internal/i;->b(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/sandboxol/halloween/view/template/c;->c()Lcom/sandboxol/halloween/entity/ChestBoxInfo;

    move-result-object v0

    if-nez v0, :cond_1a

    .line 4
    iget-object v0, p0, Lcom/sandboxol/common/base/app/BaseFragment;->context:Landroid/content/Context;

    new-instance v1, Lcom/sandboxol/halloween/view/template/fragment/chest/a;

    invoke-direct {v1, p0, p1}, Lcom/sandboxol/halloween/view/template/fragment/chest/a;-><init>(Lcom/sandboxol/halloween/view/template/fragment/chest/ChestFragment;Lcom/sandboxol/halloween/view/template/BaseEventTemplateFragment$a;)V

    invoke-static {v0, v1}, Lcom/sandboxol/halloween/web/x;->b(Landroid/content/Context;Lcom/sandboxol/common/base/web/OnResponseListener;)V

    goto :goto_26

    :cond_1a
    if-eqz p1, :cond_1f

    .line 5
    invoke-interface {p1}, Lcom/sandboxol/halloween/view/template/BaseEventTemplateFragment$a;->onFinished()V

    .line 6
    :cond_1f
    iget-object p1, p0, Lcom/sandboxol/common/base/app/BaseFragment;->viewModel:Lcom/sandboxol/common/base/viewmodel/ViewModel;

    check-cast p1, Lcom/sandboxol/halloween/view/template/fragment/chest/j;

    invoke-virtual {p1}, Lcom/sandboxol/halloween/view/template/fragment/chest/j;->initView()V

    :goto_26
    return-void
.end method

.method public a(Ljava/lang/String;)V
    .registers 2

    return-void
.end method

.method public bridge synthetic bindViewModel(Landroidx/databinding/ViewDataBinding;Lcom/sandboxol/common/base/viewmodel/ViewModel;)V
    .registers 3

    .line 1
    check-cast p1, Lcom/sandboxol/halloween/b/u;

    check-cast p2, Lcom/sandboxol/halloween/view/template/fragment/chest/j;

    invoke-virtual {p0, p1, p2}, Lcom/sandboxol/halloween/view/template/fragment/chest/ChestFragment;->a(Lcom/sandboxol/halloween/b/u;Lcom/sandboxol/halloween/view/template/fragment/chest/j;)V

    return-void
.end method

.method protected g()V
    .registers 1

    return-void
.end method

.method protected getLayoutId()I
    .registers 2

    .line 1
    sget v0, Lcom/sandboxol/halloween/R$layout;->event_fragment_chest:I

    return v0
.end method

.method public bridge synthetic getViewModel()Lcom/sandboxol/common/base/viewmodel/ViewModel;
    .registers 2

    .line 1
    invoke-virtual {p0}, Lcom/sandboxol/halloween/view/template/fragment/chest/ChestFragment;->getViewModel()Lcom/sandboxol/halloween/view/template/fragment/chest/j;

    move-result-object v0

    return-object v0
.end method

.method protected getViewModel()Lcom/sandboxol/halloween/view/template/fragment/chest/j;
    .registers 5

    .line 2
    new-instance v0, Lcom/sandboxol/halloween/view/template/fragment/chest/j;

    iget-object v1, p0, Lcom/sandboxol/common/base/app/BaseFragment;->context:Landroid/content/Context;

    const-string v2, "context"

    invoke-static {v1, v2}, Lkotlin/jvm/internal/i;->b(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v2, p0, Lcom/sandboxol/common/base/app/BaseFragment;->binding:Landroidx/databinding/ViewDataBinding;

    const-string v3, "binding"

    invoke-static {v2, v3}, Lkotlin/jvm/internal/i;->b(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v2, Lcom/sandboxol/halloween/b/u;

    invoke-direct {v0, v1, v2, p0}, Lcom/sandboxol/halloween/view/template/fragment/chest/j;-><init>(Landroid/content/Context;Lcom/sandboxol/halloween/b/u;Lcom/sandboxol/halloween/view/template/fragment/chest/ChestFragment;)V

    return-object v0
.end method

.method protected i()V
    .registers 1

    return-void
.end method

.method protected j()V
    .registers 1

    return-void
.end method

.method protected k()V
    .registers 3

    .line 1
    iget-object v0, p0, Lcom/sandboxol/halloween/view/template/BaseEventTemplateFragment;->a:Lcom/sandboxol/halloween/view/activity/main/EventUIElement;

    iget-object v0, v0, Lcom/sandboxol/halloween/view/activity/main/EventUIElement;->isCustomized:Landroidx/databinding/ObservableField;

    const/4 v1, 0x1

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroidx/databinding/ObservableField;->set(Ljava/lang/Object;)V

    return-void
.end method

.method protected l()V
    .registers 1

    return-void
.end method

.method protected m()V
    .registers 1

    return-void
.end method

.method protected n()V
    .registers 1

    return-void
.end method

.method protected o()V
    .registers 1

    return-void
.end method

.method public synthetic onDestroyView()V
    .registers 1

    invoke-super {p0}, Lcom/trello/rxlifecycle/components/support/a;->onDestroyView()V

    invoke-virtual {p0}, Lcom/sandboxol/halloween/view/template/fragment/chest/ChestFragment;->_$_clearFindViewByIdCache()V

    return-void
.end method

.method public onHiddenChanged(Z)V
    .registers 4

    if-nez p1, :cond_9

    .line 1
    iget-object v0, p0, Lcom/sandboxol/common/base/app/BaseFragment;->context:Landroid/content/Context;

    const-string v1, "chest_show"

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

    .line 2
    :cond_9
    invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onHiddenChanged(Z)V

    return-void
.end method

.method public q()Ljava/lang/String;
    .registers 2

    const-string v0, "ChestFragment"

    return-object v0
.end method