apkfuckery/com.discord/smali/androidx/viewpager/widget/PagerTabStrip$1.smali

54 lines
1.4 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/viewpager/widget/PagerTabStrip$1;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "PagerTabStrip.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/viewpager/widget/PagerTabStrip;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x1
2019-07-24 11:27:29 +00:00
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/viewpager/widget/PagerTabStrip;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/viewpager/widget/PagerTabStrip;)V
2019-07-24 11:27:29 +00:00
.locals 0
iput-object p1, p0, Landroidx/viewpager/widget/PagerTabStrip$1;->this$0:Landroidx/viewpager/widget/PagerTabStrip;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/view/View;)V
.locals 1
iget-object p1, p0, Landroidx/viewpager/widget/PagerTabStrip$1;->this$0:Landroidx/viewpager/widget/PagerTabStrip;
2019-12-06 03:29:40 +00:00
iget-object p1, p1, Landroidx/viewpager/widget/PagerTitleStrip;->mPager:Landroidx/viewpager/widget/ViewPager;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Landroidx/viewpager/widget/ViewPager;->getCurrentItem()I
2019-07-24 11:27:29 +00:00
move-result v0
add-int/lit8 v0, v0, -0x1
invoke-virtual {p1, v0}, Landroidx/viewpager/widget/ViewPager;->setCurrentItem(I)V
return-void
.end method