BGSearchRecruitmentFragment$2.smali

.class final Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment$2;
.super Landroidx/recyclerview/widget/RecyclerView$AdapterDataObserver;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
.end annotation

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


# instance fields
.field final synthetic a:Landroidx/recyclerview/widget/RecyclerView;

.field final synthetic b:Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment;Landroidx/recyclerview/widget/RecyclerView;)V
    .registers 3

    .line 152
    iput-object p1, p0, Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment$2;->b:Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment;

    iput-object p2, p0, Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment$2;->a:Landroidx/recyclerview/widget/RecyclerView;

    invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$AdapterDataObserver;-><init>()V

    return-void
.end method


# virtual methods
.method public final onItemRangeChanged(II)V
    .registers 3

    .line 163
    invoke-virtual {p0, p1, p2}, Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment$2;->onItemRangeInserted(II)V

    return-void
.end method

.method public final onItemRangeInserted(II)V
    .registers 3

    .line 155
    iget-object p1, p0, Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment$2;->b:Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment;->e(Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment;)Z

    move-result p1

    if-nez p1, :cond_10

    iget-object p1, p0, Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment$2;->b:Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment;

    invoke-static {p1}, Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment;->f(Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment;)Z

    move-result p1

    if-eqz p1, :cond_1c

    .line 156
    :cond_10
    iget-object p1, p0, Lcom/imo/android/imoim/search/recommend/fragment/BGSearchRecruitmentFragment$2;->a:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getLayoutManager()Landroidx/recyclerview/widget/RecyclerView$LayoutManager;

    move-result-object p1

    check-cast p1, Landroidx/recyclerview/widget/LinearLayoutManager;

    const/4 p2, 0x0

    .line 157
    invoke-virtual {p1, p2, p2}, Landroidx/recyclerview/widget/LinearLayoutManager;->scrollToPositionWithOffset(II)V

    :cond_1c
    return-void
.end method