GameDetailIntroduceFragment.smali

.class public Lcom/sandboxol/gamedetail/view/fragment/introduce/GameDetailIntroduceFragment;
.super Lcom/sandboxol/common/base/app/TemplateFragment;
.source "GameDetailIntroduceFragment.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/sandboxol/common/base/app/TemplateFragment<",
        "Lcom/sandboxol/gamedetail/view/fragment/introduce/n;",
        "Lcom/sandboxol/gamedetail/a/s;",
        ">;"
    }
.end annotation


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

    .line 1
    invoke-direct {p0}, Lcom/sandboxol/common/base/app/TemplateFragment;-><init>()V

    return-void
.end method


# virtual methods
.method protected a(Lcom/sandboxol/gamedetail/a/s;Lcom/sandboxol/gamedetail/view/fragment/introduce/n;)V
    .registers 3

    .line 1
    invoke-virtual {p1, p2}, Lcom/sandboxol/gamedetail/a/s;->a(Lcom/sandboxol/gamedetail/view/fragment/introduce/n;)V

    return-void
.end method

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

    .line 1
    check-cast p1, Lcom/sandboxol/gamedetail/a/s;

    check-cast p2, Lcom/sandboxol/gamedetail/view/fragment/introduce/n;

    invoke-virtual {p0, p1, p2}, Lcom/sandboxol/gamedetail/view/fragment/introduce/GameDetailIntroduceFragment;->a(Lcom/sandboxol/gamedetail/a/s;Lcom/sandboxol/gamedetail/view/fragment/introduce/n;)V

    return-void
.end method

.method protected getLayoutId()I
    .registers 2

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

    return v0
.end method

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

    .line 1
    invoke-virtual {p0}, Lcom/sandboxol/gamedetail/view/fragment/introduce/GameDetailIntroduceFragment;->getViewModel()Lcom/sandboxol/gamedetail/view/fragment/introduce/n;

    move-result-object v0

    return-object v0
.end method

.method protected getViewModel()Lcom/sandboxol/gamedetail/view/fragment/introduce/n;
    .registers 4

    .line 2
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle;

    move-result-object v0

    if-eqz v0, :cond_f

    const-string v1, "game.detail.introduction"

    .line 3
    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/sandboxol/greendao/entity/Game;

    goto :goto_10

    :cond_f
    const/4 v0, 0x0

    .line 4
    :goto_10
    new-instance v1, Lcom/sandboxol/gamedetail/view/fragment/introduce/n;

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

    invoke-direct {v1, v2, v0}, Lcom/sandboxol/gamedetail/view/fragment/introduce/n;-><init>(Landroid/content/Context;Lcom/sandboxol/greendao/entity/Game;)V

    return-object v1
.end method

.method public onPause()V
    .registers 2

    .line 1
    invoke-super {p0}, Lcom/sandboxol/common/base/app/BaseFragment;->onPause()V

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

    invoke-static {v0}, Lcom/sandboxol/common/interfaces/ReportDataAdapter;->onPause(Landroid/content/Context;)V

    return-void
.end method

.method public onResume()V
    .registers 2

    .line 1
    invoke-super {p0}, Lcom/sandboxol/common/base/app/BaseFragment;->onResume()V

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

    invoke-static {v0}, Lcom/sandboxol/common/interfaces/ReportDataAdapter;->onResume(Landroid/content/Context;)V

    return-void
.end method