LiveScrollablePage$LivePageAdapter.smali
.class public Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$LivePageAdapter;
.super Landroidx/viewpager/widget/PagerAdapter;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "LivePageAdapter"
.end annotation
# static fields
.field private static final b:Ljava/lang/String;
# instance fields
.field a:Z
# direct methods
.method static constructor <clinit>()V
.registers 1
.line 167
const-class v0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$LivePageAdapter;
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v0
sput-object v0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$LivePageAdapter;->b:Ljava/lang/String;
return-void
.end method
.method public constructor <init>()V
.registers 2
.line 166
invoke-direct {p0}, Landroidx/viewpager/widget/PagerAdapter;-><init>()V
const/4 v0, 0x0
.line 172
iput-boolean v0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$LivePageAdapter;->a:Z
return-void
.end method
.method private static synthetic a(Landroid/view/ViewGroup;Ljava/lang/Object;)V
.registers 2
.line 212
check-cast p1, Landroid/view/View;
invoke-virtual {p0, p1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V
return-void
.end method
.method public static synthetic lambda$Aq354AHj_LxeIXXCbaJDEFBU5nw(Landroid/view/ViewGroup;Ljava/lang/Object;)V
.registers 2
invoke-static {p0, p1}, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$LivePageAdapter;->a(Landroid/view/ViewGroup;Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public destroyItem(Landroid/view/ViewGroup;ILjava/lang/Object;)V
.registers 4
.line 212
new-instance p2, Lsg/bigo/live/support64/component/roomwidget/scrollpage/-$$Lambda$LiveScrollablePage$LivePageAdapter$Aq354AHj_LxeIXXCbaJDEFBU5nw;
invoke-direct {p2, p1, p3}, Lsg/bigo/live/support64/component/roomwidget/scrollpage/-$$Lambda$LiveScrollablePage$LivePageAdapter$Aq354AHj_LxeIXXCbaJDEFBU5nw;-><init>(Landroid/view/ViewGroup;Ljava/lang/Object;)V
invoke-virtual {p1, p2}, Landroid/view/ViewGroup;->post(Ljava/lang/Runnable;)Z
return-void
.end method
.method public getCount()I
.registers 2
const/4 v0, 0x2
return v0
.end method
.method public getItemPosition(Ljava/lang/Object;)I
.registers 2
.line 207
invoke-super {p0, p1}, Landroidx/viewpager/widget/PagerAdapter;->getItemPosition(Ljava/lang/Object;)I
move-result p1
return p1
.end method
.method public instantiateItem(Landroid/view/ViewGroup;I)Ljava/lang/Object;
.registers 4
if-eqz p2, :cond_f
const/4 v0, 0x1
if-eq p2, v0, :cond_7
const/4 p1, 0x0
goto :goto_16
:cond_7
const p2, 0x7d0800bc
.line 197
invoke-virtual {p1, p2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
move-result-object p1
goto :goto_16
:cond_f
const p2, 0x7d0800ac
.line 194
invoke-virtual {p1, p2}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;
move-result-object p1
:goto_16
return-object p1
.end method
.method public isViewFromObject(Landroid/view/View;Ljava/lang/Object;)Z
.registers 3
if-ne p1, p2, :cond_4
const/4 p1, 0x1
return p1
:cond_4
const/4 p1, 0x0
return p1
.end method