PopularTabVH.smali
.class public final Lcom/imo/android/imoim/ringback/pick/PopularTabVH;
.super Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/imo/android/imoim/ringback/pick/PopularTabVH$TabPagerAdapter;
}
.end annotation
# static fields
.field static final synthetic a:[Lkotlin/k/g;
# instance fields
.field final b:Lkotlin/f;
.field private c:Lcom/imo/android/imoim/ringback/pick/PopularTabVH$TabPagerAdapter;
.field private final d:Landroidx/viewpager/widget/ViewPager;
.field private final e:Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;
.field private final f:Landroid/view/View;
.field private final g:Lcom/imo/android/imoim/ringback/viewmodel/SongVM;
.field private final h:Landroid/view/ViewGroup;
.field private final i:Landroid/view/LayoutInflater;
.field private final j:Landroidx/lifecycle/LifecycleOwner;
.field private final k:Lcom/imo/android/imoim/ringback/pick/scroll/a;
# direct methods
.method static constructor <clinit>()V
.registers 5
const/4 v0, 0x1
new-array v0, v0, [Lkotlin/k/g;
new-instance v1, Lkotlin/f/b/z;
const-class v2, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;
invoke-static {v2}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;
move-result-object v2
const-string v3, "bindOnceTrigger"
const-string v4, "getBindOnceTrigger()Lkotlin/Unit;"
invoke-direct {v1, v2, v3, v4}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V
invoke-static {v1}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;
move-result-object v1
check-cast v1, Lkotlin/k/g;
const/4 v2, 0x0
aput-object v1, v0, v2
sput-object v0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->a:[Lkotlin/k/g;
return-void
.end method
.method public constructor <init>(Lcom/imo/android/imoim/ringback/viewmodel/SongVM;Landroid/view/ViewGroup;Landroid/view/LayoutInflater;Landroidx/lifecycle/LifecycleOwner;Lcom/imo/android/imoim/ringback/pick/scroll/a;)V
.registers 8
const-string v0, "vm"
invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "parent"
invoke-static {p2, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "inflater"
invoke-static {p3, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "lifecycleOwner"
invoke-static {p4, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V
const v0, 0x7f0b036b
const/4 v1, 0x0
.line 33
invoke-virtual {p3, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
move-result-object v0
.line 32
invoke-direct {p0, v0}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;-><init>(Landroid/view/View;)V
iput-object p1, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->g:Lcom/imo/android/imoim/ringback/viewmodel/SongVM;
iput-object p2, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->h:Landroid/view/ViewGroup;
iput-object p3, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->i:Landroid/view/LayoutInflater;
iput-object p4, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->j:Landroidx/lifecycle/LifecycleOwner;
iput-object p5, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->k:Lcom/imo/android/imoim/ringback/pick/scroll/a;
.line 37
new-instance p1, Lcom/imo/android/imoim/ringback/pick/PopularTabVH$a;
invoke-direct {p1, p0}, Lcom/imo/android/imoim/ringback/pick/PopularTabVH$a;-><init>(Lcom/imo/android/imoim/ringback/pick/PopularTabVH;)V
check-cast p1, Lkotlin/f/a/a;
invoke-static {p1}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;
move-result-object p1
iput-object p1, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->b:Lkotlin/f;
.line 38
iget-object p1, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->itemView:Landroid/view/View;
const p2, 0x7f091588
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Landroidx/viewpager/widget/ViewPager;
iput-object p1, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->d:Landroidx/viewpager/widget/ViewPager;
.line 39
iget-object p1, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->itemView:Landroid/view/View;
const p2, 0x7f091526
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
check-cast p1, Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;
iput-object p1, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->e:Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;
.line 42
iget-object p1, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->itemView:Landroid/view/View;
const p2, 0x7f090b06
invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
move-result-object p1
.line 43
iget-object p2, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->h:Landroid/view/ViewGroup;
if-eqz p2, :cond_65
check-cast p2, Lcom/imo/android/imoim/ringback/pick/scroll/OuterRV;
invoke-virtual {p2, p1}, Lcom/imo/android/imoim/ringback/pick/scroll/OuterRV;->setPopularTabHeaderView(Landroid/view/View;)V
.line 42
iput-object p1, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->f:Landroid/view/View;
return-void
.line 43
:cond_65
new-instance p1, Lkotlin/TypeCastException;
const-string p2, "null cannot be cast to non-null type com.imo.android.imoim.ringback.pick.scroll.OuterRV"
invoke-direct {p1, p2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public static final synthetic a(Lcom/imo/android/imoim/ringback/pick/PopularTabVH;)Lcom/imo/android/imoim/ringback/viewmodel/SongVM;
.registers 1
.line 26
iget-object p0, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->g:Lcom/imo/android/imoim/ringback/viewmodel/SongVM;
return-object p0
.end method
.method public static final synthetic b(Lcom/imo/android/imoim/ringback/pick/PopularTabVH;)Landroidx/lifecycle/LifecycleOwner;
.registers 1
.line 26
iget-object p0, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->j:Landroidx/lifecycle/LifecycleOwner;
return-object p0
.end method
.method public static final synthetic c(Lcom/imo/android/imoim/ringback/pick/PopularTabVH;)Lcom/imo/android/imoim/ringback/pick/scroll/a;
.registers 1
.line 26
iget-object p0, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->k:Lcom/imo/android/imoim/ringback/pick/scroll/a;
return-object p0
.end method
.method public static final synthetic d(Lcom/imo/android/imoim/ringback/pick/PopularTabVH;)Landroid/view/LayoutInflater;
.registers 1
.line 26
iget-object p0, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->i:Landroid/view/LayoutInflater;
return-object p0
.end method
.method public static final synthetic e(Lcom/imo/android/imoim/ringback/pick/PopularTabVH;)Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;
.registers 1
.line 26
iget-object p0, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->e:Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;
return-object p0
.end method
.method public static final synthetic f(Lcom/imo/android/imoim/ringback/pick/PopularTabVH;)Lcom/imo/android/imoim/ringback/pick/PopularTabVH$TabPagerAdapter;
.registers 2
.line 26
iget-object p0, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->c:Lcom/imo/android/imoim/ringback/pick/PopularTabVH$TabPagerAdapter;
if-nez p0, :cond_9
const-string v0, "pagerAdapter"
invoke-static {v0}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
:cond_9
return-object p0
.end method
.method public static final synthetic g(Lcom/imo/android/imoim/ringback/pick/PopularTabVH;)Landroidx/viewpager/widget/ViewPager;
.registers 1
.line 26
iget-object p0, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->d:Landroidx/viewpager/widget/ViewPager;
return-object p0
.end method
.method public static final synthetic h(Lcom/imo/android/imoim/ringback/pick/PopularTabVH;)V
.registers 4
.line 1049
new-instance v0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH$TabPagerAdapter;
invoke-direct {v0, p0}, Lcom/imo/android/imoim/ringback/pick/PopularTabVH$TabPagerAdapter;-><init>(Lcom/imo/android/imoim/ringback/pick/PopularTabVH;)V
iput-object v0, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->c:Lcom/imo/android/imoim/ringback/pick/PopularTabVH$TabPagerAdapter;
.line 1050
iget-object v0, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->d:Landroidx/viewpager/widget/ViewPager;
const-string v1, "vpTabPager"
invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v1, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->c:Lcom/imo/android/imoim/ringback/pick/PopularTabVH$TabPagerAdapter;
const-string v2, "pagerAdapter"
if-nez v1, :cond_17
invoke-static {v2}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
:cond_17
check-cast v1, Landroidx/viewpager/widget/PagerAdapter;
invoke-virtual {v0, v1}, Landroidx/viewpager/widget/ViewPager;->setAdapter(Landroidx/viewpager/widget/PagerAdapter;)V
.line 1051
iget-object v0, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->e:Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;
iget-object v1, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->d:Landroidx/viewpager/widget/ViewPager;
invoke-virtual {v0, v1}, Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;->setupWithViewPager(Landroidx/viewpager/widget/ViewPager;)V
.line 1052
iget-object v0, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->e:Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;
iget-object v1, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->c:Lcom/imo/android/imoim/ringback/pick/PopularTabVH$TabPagerAdapter;
if-nez v1, :cond_2c
invoke-static {v2}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V
:cond_2c
check-cast v1, Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip$g;
invoke-virtual {v0, v1}, Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip;->a(Lcom/imo/android/imoim/widgets/PagerSlidingTabStrip$g;)V
.line 1053
iget-object v0, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->g:Lcom/imo/android/imoim/ringback/viewmodel/SongVM;
.line 2019
iget-object v0, v0, Lcom/imo/android/imoim/ringback/viewmodel/SongVM;->d:Lcom/imo/android/imoim/ringback/viewmodel/SongListVM;
.line 2049
iget-object v0, v0, Lcom/imo/android/imoim/ringback/viewmodel/SongListVM;->g:Landroidx/lifecycle/LiveData;
.line 1053
iget-object v1, p0, Lcom/imo/android/imoim/ringback/pick/PopularTabVH;->j:Landroidx/lifecycle/LifecycleOwner;
new-instance v2, Lcom/imo/android/imoim/ringback/pick/PopularTabVH$b;
invoke-direct {v2, p0}, Lcom/imo/android/imoim/ringback/pick/PopularTabVH$b;-><init>(Lcom/imo/android/imoim/ringback/pick/PopularTabVH;)V
check-cast v2, Landroidx/lifecycle/Observer;
invoke-virtual {v0, v1, v2}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
return-void
.end method