.class Lcom/moji/mjweather/MainFragment$2;
.super Ljava/lang/Object;
.source "MainFragment.java"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/MainFragment;->j()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/MainFragment;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/MainFragment;)V
    .locals 0

    .line 133
    iput-object p1, p0, Lcom/moji/mjweather/MainFragment$2;->a:Lcom/moji/mjweather/MainFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 1

    .line 136
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result p1

    if-nez p1, :cond_0

    .line 137
    iget-object p1, p0, Lcom/moji/mjweather/MainFragment$2;->a:Lcom/moji/mjweather/MainFragment;

    sget-object p2, Lcom/moji/mjweather/TAB_TYPE;->WEATHER_TAB:Lcom/moji/mjweather/TAB_TYPE;

    iget-object p2, p2, Lcom/moji/mjweather/TAB_TYPE;->mTabID:Ljava/lang/String;

    iget-object v0, p0, Lcom/moji/mjweather/MainFragment$2;->a:Lcom/moji/mjweather/MainFragment;

    invoke-static {v0}, Lcom/moji/mjweather/MainFragment;->a(Lcom/moji/mjweather/MainFragment;)Lcom/moji/base/MJFragmentTabHost;

    move-result-object v0

    invoke-virtual {v0}, Lcom/moji/base/MJFragmentTabHost;->getCurrentTabTag()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    invoke-static {p1, p2}, Lcom/moji/mjweather/MainFragment;->a(Lcom/moji/mjweather/MainFragment;Z)V

    :cond_0
    const/4 p1, 0x0

    return p1
.end method
