ExchangeHistoryDetailActivity.smali

.class public Lcom/cmcm/safewallet/ui/exchange/ExchangeHistoryDetailActivity;
.super Lcom/cmcm/safewallet/ui/base/activity/AbsMvpActivity;
.source "ExchangeHistoryDetailActivity.java"

# interfaces
.implements Lcom/cmcm/safewallet/ui/exchange/e;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/cmcm/safewallet/ui/base/activity/AbsMvpActivity",
        "<",
        "Lcom/cmcm/safewallet/ui/exchange/f;",
        ">;",
        "Lcom/cmcm/safewallet/ui/exchange/e;"
    }
.end annotation


# instance fields
.field private ajP:Lcom/cmcm/safewallet/ui/exchange/adapter/ExchangeHistoryDetailAdapter;

.field mRecyclerView:Landroid/support/v7/widget/RecyclerView;
    .annotation build Lbutterknife/BindView;
    .end annotation
.end field

.field mTitleTV:Landroid/widget/TextView;
    .annotation build Lbutterknife/BindView;
    .end annotation
.end field


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

    .prologue
    .line 24
    invoke-direct {p0}, Lcom/cmcm/safewallet/ui/base/activity/AbsMvpActivity;-><init>()V

    return-void
.end method

.method public static a(Landroid/content/Context;Lcom/cmcm/safewallet/data/database/model/ExchangeHistoryModel;)V
    .registers 4

    .prologue
    .line 36
    if-nez p0, :cond_3

    .line 45
    :goto_2
    return-void

    .line 39
    :cond_3
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/cmcm/safewallet/ui/exchange/ExchangeHistoryDetailActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 40
    instance-of v1, p0, Landroid/app/Activity;

    if-nez v1, :cond_13

    .line 41
    const/high16 v1, 0x10000000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 43
    :cond_13
    const-string v1, "model"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

    .line 44
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto :goto_2
.end method


# virtual methods
.method protected final synthetic ab(Landroid/content/Context;)Lcom/cmcm/safewallet/ui/base/c/b;
    .registers 3

    .prologue
    .line 2050
    new-instance v0, Lcom/cmcm/safewallet/ui/exchange/f;

    invoke-direct {v0, p1}, Lcom/cmcm/safewallet/ui/exchange/f;-><init>(Landroid/content/Context;)V

    .line 24
    return-object v0
.end method

.method protected final mB()I
    .registers 2

    .prologue
    .line 69
    const v0, 0x7f030096

    return v0
.end method

.method protected final my()V
    .registers 1

    .prologue
    .line 56
    return-void
.end method

.method protected final mz()V
    .registers 4

    .prologue
    .line 60
    iget-object v0, p0, Lcom/cmcm/safewallet/ui/exchange/ExchangeHistoryDetailActivity;->mTitleTV:Landroid/widget/TextView;

    const v1, 0x7f0800c9

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 62
    iget-object v0, p0, Lcom/cmcm/safewallet/ui/exchange/ExchangeHistoryDetailActivity;->mRecyclerView:Landroid/support/v7/widget/RecyclerView;

    new-instance v1, Landroid/support/v7/widget/LinearLayoutManager;

    invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/exchange/ExchangeHistoryDetailActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2}, Landroid/support/v7/widget/LinearLayoutManager;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->setLayoutManager(Landroid/support/v7/widget/RecyclerView$LayoutManager;)V

    .line 63
    new-instance v1, Lcom/cmcm/safewallet/ui/exchange/adapter/ExchangeHistoryDetailAdapter;

    .line 1095
    iget-object v0, p0, Lcom/cmcm/safewallet/ui/base/activity/AbsMvpActivity;->agc:Lcom/cmcm/safewallet/ui/base/c/b;

    .line 63
    check-cast v0, Lcom/cmcm/safewallet/ui/exchange/f;

    .line 1098
    iget-object v0, v0, Lcom/cmcm/safewallet/ui/exchange/f;->aiZ:Ljava/util/List;

    .line 63
    invoke-direct {v1, p0, v0}, Lcom/cmcm/safewallet/ui/exchange/adapter/ExchangeHistoryDetailAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v1, p0, Lcom/cmcm/safewallet/ui/exchange/ExchangeHistoryDetailActivity;->ajP:Lcom/cmcm/safewallet/ui/exchange/adapter/ExchangeHistoryDetailAdapter;

    .line 64
    iget-object v0, p0, Lcom/cmcm/safewallet/ui/exchange/ExchangeHistoryDetailActivity;->mRecyclerView:Landroid/support/v7/widget/RecyclerView;

    iget-object v1, p0, Lcom/cmcm/safewallet/ui/exchange/ExchangeHistoryDetailActivity;->ajP:Lcom/cmcm/safewallet/ui/exchange/adapter/ExchangeHistoryDetailAdapter;

    invoke-virtual {v0, v1}, Landroid/support/v7/widget/RecyclerView;->setAdapter(Landroid/support/v7/widget/RecyclerView$Adapter;)V

    .line 65
    return-void
.end method

.method public onTitleBackClick()V
    .registers 1
    .annotation build Lbutterknife/OnClick;
    .end annotation

    .prologue
    .line 74
    invoke-virtual {p0}, Lcom/cmcm/safewallet/ui/exchange/ExchangeHistoryDetailActivity;->finish()V

    .line 75
    return-void
.end method