68 lines
1.4 KiB
Smali
68 lines
1.4 KiB
Smali
.class Lcom/moji/index/IndexActivity$3;
|
|
.super Lcom/moji/viewpager/SimpleOnPageChangeListener;
|
|
.source "IndexActivity.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/index/IndexActivity;->a()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/index/IndexActivity;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/index/IndexActivity;)V
|
|
.locals 0
|
|
|
|
.line 149
|
|
iput-object p1, p0, Lcom/moji/index/IndexActivity$3;->a:Lcom/moji/index/IndexActivity;
|
|
|
|
invoke-direct {p0}, Lcom/moji/viewpager/SimpleOnPageChangeListener;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onPageSelected(I)V
|
|
.locals 2
|
|
|
|
.line 153
|
|
iget-object v0, p0, Lcom/moji/index/IndexActivity$3;->a:Lcom/moji/index/IndexActivity;
|
|
|
|
invoke-static {v0}, Lcom/moji/index/IndexActivity;->b(Lcom/moji/index/IndexActivity;)Landroid/widget/RadioGroup;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
sget p1, Lcom/moji/index/R$id;->today:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
if-ne p1, v1, :cond_1
|
|
|
|
sget p1, Lcom/moji/index/R$id;->tomorrow:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
sget p1, Lcom/moji/index/R$id;->tomorrow_after:I
|
|
|
|
:goto_0
|
|
invoke-virtual {v0, p1}, Landroid/widget/RadioGroup;->check(I)V
|
|
|
|
return-void
|
|
.end method
|