.class Lcom/moji/mjad/nativepage/AdNativeActivity$1;
.super Landroid/support/v7/widget/RecyclerView$OnScrollListener;
.source "AdNativeActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjad/nativepage/AdNativeActivity;->a(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjad/nativepage/AdNativeActivity;


# direct methods
.method constructor <init>(Lcom/moji/mjad/nativepage/AdNativeActivity;)V
    .locals 0

    .line 50
    iput-object p1, p0, Lcom/moji/mjad/nativepage/AdNativeActivity$1;->a:Lcom/moji/mjad/nativepage/AdNativeActivity;

    invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView$OnScrollListener;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroid/support/v7/widget/RecyclerView;I)V
    .locals 2

    .line 53
    invoke-super {p0, p1, p2}, Landroid/support/v7/widget/RecyclerView$OnScrollListener;->a(Landroid/support/v7/widget/RecyclerView;I)V

    if-nez p2, :cond_0

    .line 55
    invoke-virtual {p1}, Landroid/support/v7/widget/RecyclerView;->getLayoutManager()Landroid/support/v7/widget/RecyclerView$LayoutManager;

    move-result-object p1

    check-cast p1, Landroid/support/v7/widget/LinearLayoutManager;

    .line 56
    invoke-virtual {p1}, Landroid/support/v7/widget/LinearLayoutManager;->o()I

    move-result p2

    .line 57
    invoke-virtual {p1}, Landroid/support/v7/widget/LinearLayoutManager;->q()I

    move-result v0

    .line 58
    iget-object v1, p0, Lcom/moji/mjad/nativepage/AdNativeActivity$1;->a:Lcom/moji/mjad/nativepage/AdNativeActivity;

    invoke-static {v1, p2, v0}, Lcom/moji/mjad/nativepage/AdNativeActivity;->a(Lcom/moji/mjad/nativepage/AdNativeActivity;II)V

    .line 59
    iget-object v1, p0, Lcom/moji/mjad/nativepage/AdNativeActivity$1;->a:Lcom/moji/mjad/nativepage/AdNativeActivity;

    invoke-static {v1, p2, v0}, Lcom/moji/mjad/nativepage/AdNativeActivity;->b(Lcom/moji/mjad/nativepage/AdNativeActivity;II)V

    .line 60
    iget-object v1, p0, Lcom/moji/mjad/nativepage/AdNativeActivity$1;->a:Lcom/moji/mjad/nativepage/AdNativeActivity;

    invoke-static {v1, p2, v0, p1}, Lcom/moji/mjad/nativepage/AdNativeActivity;->a(Lcom/moji/mjad/nativepage/AdNativeActivity;IILandroid/support/v7/widget/LinearLayoutManager;)V

    .line 62
    iget-object p1, p0, Lcom/moji/mjad/nativepage/AdNativeActivity$1;->a:Lcom/moji/mjad/nativepage/AdNativeActivity;

    invoke-static {p1}, Lcom/moji/mjad/nativepage/AdNativeActivity;->a(Lcom/moji/mjad/nativepage/AdNativeActivity;)Z

    move-result p1

    if-nez p1, :cond_0

    .line 63
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object p2, Lcom/moji/statistics/EVENT_TAG;->NEW_AD_NATIVE_LANDPAGE_SLIDE:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {p1, p2}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    .line 64
    iget-object p1, p0, Lcom/moji/mjad/nativepage/AdNativeActivity$1;->a:Lcom/moji/mjad/nativepage/AdNativeActivity;

    const/4 p2, 0x1

    invoke-static {p1, p2}, Lcom/moji/mjad/nativepage/AdNativeActivity;->a(Lcom/moji/mjad/nativepage/AdNativeActivity;Z)Z

    :cond_0
    return-void
.end method

.method public a(Landroid/support/v7/widget/RecyclerView;II)V
    .locals 0

    .line 71
    invoke-super {p0, p1, p2, p3}, Landroid/support/v7/widget/RecyclerView$OnScrollListener;->a(Landroid/support/v7/widget/RecyclerView;II)V

    return-void
.end method
