CyBearAnnouncementFragment$initView$1.smali

.class public final Lcom/imo/android/imoim/community/bearcommunity/fragment/CyBearAnnouncementFragment$initView$1;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/community/bearcommunity/fragment/b;
.end annotation

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


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/community/bearcommunity/fragment/b;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/community/bearcommunity/fragment/b;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 89
    iput-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/CyBearAnnouncementFragment$initView$1;->a:Lcom/imo/android/imoim/community/bearcommunity/fragment/b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onPageScrollStateChanged(I)V
    .registers 3

    const/4 v0, 0x1

    if-nez p1, :cond_9

    .line 92
    iget-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/CyBearAnnouncementFragment$initView$1;->a:Lcom/imo/android/imoim/community/bearcommunity/fragment/b;

    invoke-static {p1, v0}, Lcom/imo/android/imoim/community/bearcommunity/fragment/b;->a(Lcom/imo/android/imoim/community/bearcommunity/fragment/b;Z)V

    return-void

    :cond_9
    if-ne p1, v0, :cond_11

    .line 94
    iget-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/CyBearAnnouncementFragment$initView$1;->a:Lcom/imo/android/imoim/community/bearcommunity/fragment/b;

    const/4 v0, 0x0

    invoke-static {p1, v0}, Lcom/imo/android/imoim/community/bearcommunity/fragment/b;->a(Lcom/imo/android/imoim/community/bearcommunity/fragment/b;Z)V

    :cond_11
    return-void
.end method

.method public final onPageScrolled(IFI)V
    .registers 4

    return-void
.end method

.method public final onPageSelected(I)V
    .registers 5

    .line 106
    iget-object v0, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/CyBearAnnouncementFragment$initView$1;->a:Lcom/imo/android/imoim/community/bearcommunity/fragment/b;

    invoke-static {v0}, Lcom/imo/android/imoim/community/bearcommunity/fragment/b;->b(Lcom/imo/android/imoim/community/bearcommunity/fragment/b;)Lcom/imo/android/imoim/feeds/ui/user/profile/PotIndicator;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/CyBearAnnouncementFragment$initView$1;->a:Lcom/imo/android/imoim/community/bearcommunity/fragment/b;

    invoke-static {v1}, Lcom/imo/android/imoim/community/bearcommunity/fragment/b;->c(Lcom/imo/android/imoim/community/bearcommunity/fragment/b;)I

    move-result v1

    if-nez v1, :cond_f

    goto :goto_16

    :cond_f
    iget-object v1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/CyBearAnnouncementFragment$initView$1;->a:Lcom/imo/android/imoim/community/bearcommunity/fragment/b;

    invoke-static {v1}, Lcom/imo/android/imoim/community/bearcommunity/fragment/b;->c(Lcom/imo/android/imoim/community/bearcommunity/fragment/b;)I

    move-result v1

    rem-int/2addr p1, v1

    :goto_16
    invoke-virtual {v0, p1}, Lcom/imo/android/imoim/feeds/ui/user/profile/PotIndicator;->setCurrIndex(I)V

    .line 107
    iget-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/CyBearAnnouncementFragment$initView$1;->a:Lcom/imo/android/imoim/community/bearcommunity/fragment/b;

    invoke-static {p1}, Lcom/imo/android/imoim/community/bearcommunity/fragment/b;->a(Lcom/imo/android/imoim/community/bearcommunity/fragment/b;)Z

    move-result p1

    if-nez p1, :cond_31

    .line 108
    iget-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/CyBearAnnouncementFragment$initView$1;->a:Lcom/imo/android/imoim/community/bearcommunity/fragment/b;

    invoke-virtual {p1}, Lcom/imo/android/imoim/community/bearcommunity/fragment/b;->i()Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;

    move-result-object p1

    const/4 v0, 0x0

    new-array v0, v0, [Ljava/lang/String;

    const-string v1, "01301002"

    const-string v2, "105"

    invoke-virtual {p1, v1, v2, v0}, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V

    :cond_31
    return-void
.end method