67 lines
2 KiB
Smali
67 lines
2 KiB
Smali
.class public Lcom/google/android/material/tabs/TabLayout$b;
|
|
.super Ljava/lang/Object;
|
|
.source "TabLayout.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/viewpager/widget/ViewPager$OnAdapterChangeListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/android/material/tabs/TabLayout;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = "b"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public a:Z
|
|
|
|
.field public final synthetic b:Lcom/google/android/material/tabs/TabLayout;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/android/material/tabs/TabLayout;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/google/android/material/tabs/TabLayout$b;->b:Lcom/google/android/material/tabs/TabLayout;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onAdapterChanged(Landroidx/viewpager/widget/ViewPager;Landroidx/viewpager/widget/PagerAdapter;Landroidx/viewpager/widget/PagerAdapter;)V
|
|
.locals 1
|
|
.param p1 # Landroidx/viewpager/widget/ViewPager;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroidx/viewpager/widget/PagerAdapter;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Landroidx/viewpager/widget/PagerAdapter;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
iget-object p2, p0, Lcom/google/android/material/tabs/TabLayout$b;->b:Lcom/google/android/material/tabs/TabLayout;
|
|
|
|
iget-object v0, p2, Lcom/google/android/material/tabs/TabLayout;->viewPager:Landroidx/viewpager/widget/ViewPager;
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
iget-boolean p1, p0, Lcom/google/android/material/tabs/TabLayout$b;->a:Z
|
|
|
|
invoke-virtual {p2, p3, p1}, Lcom/google/android/material/tabs/TabLayout;->setPagerAdapter(Landroidx/viewpager/widget/PagerAdapter;Z)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|