OnePurchaseFragment.smali

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


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/sandboxol/halloween/view/template/BaseEventTemplateFragment<",
        "Lcom/sandboxol/halloween/view/template/fragment/onepurchase/o;",
        "Lcom/sandboxol/halloween/b/y;",
        ">;"
    }
.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/onepurchase/OnePurchaseFragment;)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/onepurchase/OnePurchaseFragment;)Lcom/sandboxol/halloween/view/template/fragment/onepurchase/o;
    .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/onepurchase/o;

    return-object p0
.end method


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

    iget-object v0, p0, Lcom/sandboxol/halloween/view/template/fragment/onepurchase/OnePurchaseFragment;->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/y;Lcom/sandboxol/halloween/view/template/fragment/onepurchase/o;)V
    .registers 3

    if-eqz p1, :cond_5

    .line 2
    invoke-virtual {p1, p2}, Lcom/sandboxol/halloween/b/y;->a(Lcom/sandboxol/halloween/view/template/fragment/onepurchase/o;)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;->f()Lcom/sandboxol/halloween/entity/OnePurchaseInfoResponse;

    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/onepurchase/a;

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

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

    goto :goto_1f

    :cond_1a
    if-eqz p1, :cond_1f

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

    :cond_1f
    :goto_1f
    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/y;

    check-cast p2, Lcom/sandboxol/halloween/view/template/fragment/onepurchase/o;

    invoke-virtual {p0, p1, p2}, Lcom/sandboxol/halloween/view/template/fragment/onepurchase/OnePurchaseFragment;->a(Lcom/sandboxol/halloween/b/y;Lcom/sandboxol/halloween/view/template/fragment/onepurchase/o;)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_one_purchase: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/onepurchase/OnePurchaseFragment;->getViewModel()Lcom/sandboxol/halloween/view/template/fragment/onepurchase/o;

    move-result-object v0

    return-object v0
.end method

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

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

    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/y;

    invoke-direct {v0, v1, v2}, Lcom/sandboxol/halloween/view/template/fragment/onepurchase/o;-><init>(Landroid/content/Context;Lcom/sandboxol/halloween/b/y;)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/onepurchase/OnePurchaseFragment;->_$_clearFindViewByIdCache()V

    return-void
.end method

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

    .line 1
    const-class v0, Lcom/sandboxol/halloween/view/template/fragment/onepurchase/OnePurchaseFragment;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    const-string v1, "this.javaClass.simpleName"

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

    return-object v0
.end method