b.smali

.class public Lcom/kwad/sdk/contentalliance/tube/profile/b/b;
.super Lcom/kwad/sdk/contentalliance/tube/profile/a/a;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/kwad/sdk/contentalliance/tube/profile/b/b$a;,
        Lcom/kwad/sdk/contentalliance/tube/profile/b/b$b;
    }
.end annotation


# instance fields
.field protected b:Landroid/support/v7/widget/RecyclerView;

.field private c:Lcom/kwad/sdk/contentalliance/tube/model/TubeInfo;

.field private d:Landroid/support/v7/widget/RecyclerView$Adapter;

.field private e:Lcom/kwad/sdk/contentalliance/tube/profile/e;


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

    invoke-direct {p0}, Lcom/kwad/sdk/contentalliance/tube/profile/a/a;-><init>()V

    new-instance v0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b$1;

    invoke-direct {v0, p0}, Lcom/kwad/sdk/contentalliance/tube/profile/b/b$1;-><init>(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;)V

    iput-object v0, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->e:Lcom/kwad/sdk/contentalliance/tube/profile/e;

    return-void
.end method

.method static synthetic a(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;)Landroid/content/Context;
    .registers 2

    invoke-virtual {p0}, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->o()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic a(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;Landroid/support/v7/widget/RecyclerView$Adapter;)Landroid/support/v7/widget/RecyclerView$Adapter;
    .registers 2

    iput-object p1, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->d:Landroid/support/v7/widget/RecyclerView$Adapter;

    return-object p1
.end method

.method static synthetic a(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;Lcom/kwad/sdk/contentalliance/tube/model/TubeInfo;)Lcom/kwad/sdk/contentalliance/tube/model/TubeInfo;
    .registers 2

    iput-object p1, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->c:Lcom/kwad/sdk/contentalliance/tube/model/TubeInfo;

    return-object p1
.end method

.method static synthetic b(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;)Landroid/support/v7/widget/RecyclerView$Adapter;
    .registers 2

    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->d:Landroid/support/v7/widget/RecyclerView$Adapter;

    return-object v0
.end method

.method static synthetic c(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;)Landroid/content/Context;
    .registers 2

    invoke-virtual {p0}, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->o()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic d(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;)Lcom/kwad/sdk/contentalliance/tube/model/TubeInfo;
    .registers 2

    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->c:Lcom/kwad/sdk/contentalliance/tube/model/TubeInfo;

    return-object v0
.end method

.method static synthetic e(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;)Lcom/kwad/sdk/contentalliance/tube/profile/a/b;
    .registers 2

    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->a:Lcom/kwad/sdk/contentalliance/tube/profile/a/b;

    return-object v0
.end method

.method static synthetic f(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;)Lcom/kwad/sdk/contentalliance/tube/profile/a/b;
    .registers 2

    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->a:Lcom/kwad/sdk/contentalliance/tube/profile/a/b;

    return-object v0
.end method

.method static synthetic g(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;)Landroid/content/Context;
    .registers 2

    invoke-virtual {p0}, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->o()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic h(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;)Lcom/kwad/sdk/contentalliance/tube/profile/a/b;
    .registers 2

    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->a:Lcom/kwad/sdk/contentalliance/tube/profile/a/b;

    return-object v0
.end method

.method static synthetic i(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;)Lcom/kwad/sdk/contentalliance/tube/profile/a/b;
    .registers 2

    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->a:Lcom/kwad/sdk/contentalliance/tube/profile/a/b;

    return-object v0
.end method

.method static synthetic j(Lcom/kwad/sdk/contentalliance/tube/profile/b/b;)Landroid/content/Context;
    .registers 2

    invoke-virtual {p0}, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->o()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method protected a()V
    .registers 3

    invoke-super {p0}, Lcom/kwad/sdk/contentalliance/tube/profile/a/a;->a()V

    const-string v0, "TubeProfileEpisodeGridPresenter"

    const-string v1, "TubeProfileEpisodeGridPresenter onBind"

    invoke-static {v0, v1}, Lcom/kwad/sdk/core/d/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->a:Lcom/kwad/sdk/contentalliance/tube/profile/a/b;

    iget-object v0, v0, Lcom/kwad/sdk/contentalliance/tube/profile/a/b;->e:Ljava/util/Set;

    iget-object v1, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->e:Lcom/kwad/sdk/contentalliance/tube/profile/e;

    invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method protected b()V
    .registers 5

    invoke-super {p0}, Lcom/kwad/sdk/contentalliance/tube/profile/a/a;->b()V

    const-string v0, "TubeProfileEpisodeGridPresenter"

    const-string v1, "TubeProfileEpisodeGridPresenter onCreate"

    invoke-static {v0, v1}, Lcom/kwad/sdk/core/d/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    const-string v0, "ksad_tube_grid"

    invoke-virtual {p0, v0}, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->c(Ljava/lang/String;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/support/v7/widget/RecyclerView;

    iput-object v0, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->b:Landroid/support/v7/widget/RecyclerView;

    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->b:Landroid/support/v7/widget/RecyclerView;

    new-instance v1, Lcom/kwad/sdk/contentalliance/tube/view/a;

    invoke-virtual {p0}, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->o()Landroid/content/Context;

    move-result-object v2

    const/high16 v3, 0x40000000    # 2.0f

    invoke-static {v2, v3}, Lcom/kwad/sdk/c/ae;->a(Landroid/content/Context;F)I

    move-result v2

    invoke-direct {v1, v2}, Lcom/kwad/sdk/contentalliance/tube/view/a;-><init>(I)V

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

    new-instance v0, Landroid/support/v7/widget/GridLayoutManager;

    invoke-virtual {p0}, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->o()Landroid/content/Context;

    move-result-object v1

    const/4 v2, 0x3

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

    iget-object v1, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->b:Landroid/support/v7/widget/RecyclerView;

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

    return-void
.end method

.method protected c()V
    .registers 3

    invoke-super {p0}, Lcom/kwad/sdk/contentalliance/tube/profile/a/a;->c()V

    iget-object v0, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->a:Lcom/kwad/sdk/contentalliance/tube/profile/a/b;

    iget-object v0, v0, Lcom/kwad/sdk/contentalliance/tube/profile/a/b;->e:Ljava/util/Set;

    iget-object v1, p0, Lcom/kwad/sdk/contentalliance/tube/profile/b/b;->e:Lcom/kwad/sdk/contentalliance/tube/profile/e;

    invoke-interface {v0, v1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z

    return-void
.end method