72 lines
1.9 KiB
Smali
72 lines
1.9 KiB
Smali
.class public Lcom/google/android/material/tabs/TabLayoutMediator$c;
|
|
.super Ljava/lang/Object;
|
|
.source "TabLayoutMediator.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/android/material/tabs/TabLayout$OnTabSelectedListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/android/material/tabs/TabLayoutMediator;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "c"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroidx/viewpager2/widget/ViewPager2;
|
|
|
|
.field public final b:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/viewpager2/widget/ViewPager2;Z)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/android/material/tabs/TabLayoutMediator$c;->a:Landroidx/viewpager2/widget/ViewPager2;
|
|
|
|
iput-boolean p2, p0, Lcom/google/android/material/tabs/TabLayoutMediator$c;->b:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onTabReselected(Lcom/google/android/material/tabs/TabLayout$Tab;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onTabSelected(Lcom/google/android/material/tabs/TabLayout$Tab;)V
|
|
.locals 2
|
|
.param p1 # Lcom/google/android/material/tabs/TabLayout$Tab;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
iget-object v0, p0, Lcom/google/android/material/tabs/TabLayoutMediator$c;->a:Landroidx/viewpager2/widget/ViewPager2;
|
|
|
|
invoke-virtual {p1}, Lcom/google/android/material/tabs/TabLayout$Tab;->getPosition()I
|
|
|
|
move-result p1
|
|
|
|
iget-boolean v1, p0, Lcom/google/android/material/tabs/TabLayoutMediator$c;->b:Z
|
|
|
|
invoke-virtual {v0, p1, v1}, Landroidx/viewpager2/widget/ViewPager2;->setCurrentItem(IZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onTabUnselected(Lcom/google/android/material/tabs/TabLayout$Tab;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|