87 lines
1.9 KiB
Smali
87 lines
1.9 KiB
Smali
.class Lcom/moji/index/IndexActivity$2;
|
|
.super Ljava/lang/Object;
|
|
.source "IndexActivity.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/widget/RadioGroup$OnCheckedChangeListener;
|
|
|
|
|
|
# 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 141
|
|
iput-object p1, p0, Lcom/moji/index/IndexActivity$2;->a:Lcom/moji/index/IndexActivity;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onCheckedChanged(Landroid/widget/RadioGroup;I)V
|
|
.locals 1
|
|
|
|
.line 144
|
|
sget p1, Lcom/moji/index/R$id;->today:I
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p2, p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget p1, Lcom/moji/index/R$id;->tomorrow:I
|
|
|
|
if-ne p2, p1, :cond_1
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x2
|
|
|
|
.line 145
|
|
:goto_0
|
|
iget-object p2, p0, Lcom/moji/index/IndexActivity$2;->a:Lcom/moji/index/IndexActivity;
|
|
|
|
invoke-static {p2}, Lcom/moji/index/IndexActivity;->a(Lcom/moji/index/IndexActivity;)Landroid/support/v4/view/ViewPager;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2, p1}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V
|
|
|
|
.line 146
|
|
iget-object p2, p0, Lcom/moji/index/IndexActivity$2;->a:Lcom/moji/index/IndexActivity;
|
|
|
|
add-int/2addr p1, v0
|
|
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p2, p1}, Lcom/moji/index/IndexActivity;->a(Lcom/moji/index/IndexActivity;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|